io.leopard.topnb
Enum PerformanceCategory
java.lang.Object
java.lang.Enum<PerformanceCategory>
io.leopard.topnb.PerformanceCategory
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PerformanceCategory>
public enum PerformanceCategory
- extends java.lang.Enum<PerformanceCategory>
| 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 |
DAOMYSQLIMPL
public static final PerformanceCategory DAOMYSQLIMPL
OUTSIDE
public static final PerformanceCategory OUTSIDE
DAOMEMORYIMPL
public static final PerformanceCategory DAOMEMORYIMPL
DAOREDISIMPL
public static final PerformanceCategory DAOREDISIMPL
DAOMEMCACHEDIMPL
public static final PerformanceCategory DAOMEMCACHEDIMPL
DAOCACHEIMPL
public static final PerformanceCategory DAOCACHEIMPL
LEOPARD
public static final PerformanceCategory LEOPARD
DAO
public static final PerformanceCategory DAO
SERVICE
public static final PerformanceCategory SERVICE
HANDLER
public static final PerformanceCategory HANDLER
Controller
public static final PerformanceCategory Controller
TIMER
public static final PerformanceCategory TIMER
ENCODER
public static final PerformanceCategory ENCODER
DATASOURCE
public static final PerformanceCategory DATASOURCE
UNKNOWN
public static final PerformanceCategory UNKNOWN
values
public static PerformanceCategory[] 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 (PerformanceCategory c : PerformanceCategory.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PerformanceCategory 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 PerformanceCategory toEnumByDesc(java.lang.String desc)
Copyright © 2014. All Rights Reserved.