io.leopard.topnb
Enum PerformanceModuleEnum
java.lang.Object
java.lang.Enum<PerformanceModuleEnum>
io.leopard.topnb.PerformanceModuleEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PerformanceModuleEnum>
public enum PerformanceModuleEnum
- extends java.lang.Enum<PerformanceModuleEnum>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DAO
public static final PerformanceModuleEnum DAO
DAOMYSQLIMPL
public static final PerformanceModuleEnum DAOMYSQLIMPL
OUTSIDE
public static final PerformanceModuleEnum OUTSIDE
DAOMEMORYIMPL
public static final PerformanceModuleEnum DAOMEMORYIMPL
DAOREDISIMPL
public static final PerformanceModuleEnum DAOREDISIMPL
DAOMEMCACHEDIMPL
public static final PerformanceModuleEnum DAOMEMCACHEDIMPL
DAOCACHEIMPL
public static final PerformanceModuleEnum DAOCACHEIMPL
LEOPARD
public static final PerformanceModuleEnum LEOPARD
SERVICE
public static final PerformanceModuleEnum SERVICE
HANDLER
public static final PerformanceModuleEnum HANDLER
TIMER
public static final PerformanceModuleEnum TIMER
UNKNOWN
public static final PerformanceModuleEnum UNKNOWN
values
public static PerformanceModuleEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PerformanceModuleEnum c : PerformanceModuleEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PerformanceModuleEnum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getKey
public java.lang.Integer getKey()
getDesc
public java.lang.String getDesc()
toEnumByDesc
public static PerformanceModuleEnum toEnumByDesc(java.lang.String desc)
Copyright © 2014. All Rights Reserved.