Package org.gridgain.internal.eviction
Enum Class EvictionMode
- All Implemented Interfaces:
Serializable,Comparable<EvictionMode>,Constable
Eviction mode defines the strategy of the eviction process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEviction is disabled.Only history versions of rows are evicted.History versions of rows are evicted and than most recent versions of rows are evicted. -
Method Summary
Modifier and TypeMethodDescriptionstatic EvictionModeReturns the enum constant of this class with the specified name.static EvictionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
Eviction is disabled. -
HISTORY_ONLY
Only history versions of rows are evicted. -
RANDOM
History versions of rows are evicted and than most recent versions of rows are evicted. Most recent versions of rows are chosen randomly for eviction.
-
-
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
-