Package org.cyclos.model.system.monitor
Enum CacheOrderBy
- java.lang.Object
-
- java.lang.Enum<CacheOrderBy>
-
- org.cyclos.model.system.monitor.CacheOrderBy
-
- All Implemented Interfaces:
Serializable,Comparable<CacheOrderBy>,HasMessageKey
public enum CacheOrderBy extends Enum<CacheOrderBy> implements HasMessageKey
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIT_RATE_ASCHIT_RATE_DESCNAMEREQUEST_COUNT_ASCREQUEST_COUNT_DESCSIZE_ASCSIZE_DESC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()booleanisDescendendOrder()static CacheOrderByvalueOf(String name)Returns the enum constant of this type with the specified name.static CacheOrderBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final CacheOrderBy NAME
-
HIT_RATE_ASC
public static final CacheOrderBy HIT_RATE_ASC
-
HIT_RATE_DESC
public static final CacheOrderBy HIT_RATE_DESC
-
SIZE_ASC
public static final CacheOrderBy SIZE_ASC
-
SIZE_DESC
public static final CacheOrderBy SIZE_DESC
-
REQUEST_COUNT_ASC
public static final CacheOrderBy REQUEST_COUNT_ASC
-
REQUEST_COUNT_DESC
public static final CacheOrderBy REQUEST_COUNT_DESC
-
-
Method Detail
-
values
public static CacheOrderBy[] 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 (CacheOrderBy c : CacheOrderBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheOrderBy valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
isDescendendOrder
public boolean isDescendendOrder()
-
-