Enum Class EvictionActionType
- All Implemented Interfaces:
Serializable
,Comparable<EvictionActionType>
,Constable
The EvictionActionType enum is an enumeration of all the GemFire EvictionAction values.
- Since:
- 1.6.0
- See Also:
-
EvictionAction
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.geode.cache.EvictionAction
Gets the matching GemFire EvictionAction represented by this enumerated value.static org.apache.geode.cache.EvictionAction
getEvictionAction
(EvictionActionType evictionActionType) A null-safe operation to extract the GemFire EvictionAction from the EvictionActionType enumerated value.static EvictionActionType
Returns the enum constant of this class with the specified name.static EvictionActionType
valueOf
(org.apache.geode.cache.EvictionAction evictionAction) Returns an EvictionActionType enumerated value matching the given GemFire EvictionAction.static EvictionActionType
valueOfIgnoreCase
(String name) Returns an EvictionActionType enumerated value given the named, case-insensitive eviction action.static EvictionActionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCAL_DESTROY
-
NONE
-
OVERFLOW_TO_DISK
-
-
Field Details
-
DEFAULT
-
-
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
-
getEvictionAction
public static org.apache.geode.cache.EvictionAction getEvictionAction(EvictionActionType evictionActionType) A null-safe operation to extract the GemFire EvictionAction from the EvictionActionType enumerated value.- Parameters:
evictionActionType
- the EvictionActionType enumerated value from which to extract the matching GemFire EvictionAction value.- Returns:
- a GemFire EvictionAction given a EvictionActionType enumerated value.
- See Also:
-
valueOf
Returns an EvictionActionType enumerated value matching the given GemFire EvictionAction.- Parameters:
evictionAction
- the GemFire EvictionAction used to lookup and match the appropriate EvictionActionType.- Returns:
- an EvictionActionType enumerated value matching the given GemFire EvictionAction or null if no match was found.
- See Also:
-
EvictionAction
getEvictionAction()
-
valueOfIgnoreCase
Returns an EvictionActionType enumerated value given the named, case-insensitive eviction action.- Parameters:
name
- a String value indicating the name the eviction action used to match EvictionActionType.- Returns:
- an EvictionActionType enumerated value matching the given named, case-insensitive eviction action or null if not match was found.
- See Also:
-
getEvictionAction
public org.apache.geode.cache.EvictionAction getEvictionAction()Gets the matching GemFire EvictionAction represented by this enumerated value.- Returns:
- the GemFire EvictionAction represented by this enum.
- See Also:
-
EvictionAction
-