Enum Class HashIndexPriority
- All Implemented Interfaces:
Serializable
,Comparable<HashIndexPriority>
,Constable
This enum allows sorting of hashed attributes by priority. All hashed attributes are sorted by
priority and the top
NUM_CACHED_ATTRIBUTES
of them are actually hashed in the server.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe item the CacheObjectAttribute refers to will be entered into the in-memory datagrid hashtable if there's room after attempting to hash all higher priority items.The item theCacheObjectAttribute
refers to will be entered into the StateServer Hashtable if there's room.The item in the CacheObjectAttribute refers to is never entered into the StateServer Hashtable. -
Method Summary
Modifier and TypeMethodDescriptionstatic HashIndexPriority
Returns the enum constant of this class with the specified name.static HashIndexPriority[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NotHashable
The item in the CacheObjectAttribute refers to is never entered into the StateServer Hashtable. -
Hashable
The item the CacheObjectAttribute refers to will be entered into the in-memory datagrid hashtable if there's room after attempting to hash all higher priority items. -
HighPriorityHashable
The item theCacheObjectAttribute
refers to will be entered into the StateServer Hashtable if there's room. Items with this priority will take precedence over any items markedHashable
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-