Enum Class ExpirationActionType
java.lang.Object
java.lang.Enum<ExpirationActionType>
org.springframework.data.gemfire.expiration.ExpirationActionType
- All Implemented Interfaces:
Serializable
,Comparable<ExpirationActionType>
,Constable
The ExpirationActionType enum is a enumeration of GemFire ExpirationActions on expired Cache Region entries.
- Since:
- 1.6.0
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the matching GemFire ExpirationAction for this enumerated value.static ExpirationAction
getExpirationAction
(ExpirationActionType expirationActionType) A null-safe operation to extract the corresponding GemFire ExpirationAction for the ExpirationActionType.static ExpirationActionType
Returns the enum constant of this class with the specified name.static ExpirationActionType
valueOf
(ExpirationAction expirationAction) Returns the ExpirationActionType enumerated value matching the given GemFire ExpirationAction.static ExpirationActionType
valueOfIgnoreCase
(String name) Returns an ExpirationActionType enumerated value given a named, case-insensitive expiration action.static ExpirationActionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DESTROY
-
INVALIDATE
-
LOCAL_DESTROY
-
LOCAL_INVALIDATE
-
-
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
-
getExpirationAction
A null-safe operation to extract the corresponding GemFire ExpirationAction for the ExpirationActionType.- Parameters:
expirationActionType
- the ExpirationActionType enumerated value from which to extract the corresponding GemFire ExpirationAction.- Returns:
- a GemFire ExpirationAction given the ExpirationActionType enumerated value.
- See Also:
-
valueOf
Returns the ExpirationActionType enumerated value matching the given GemFire ExpirationAction.- Parameters:
expirationAction
- the GemFire ExpirationAction used to match the ExpirationActionType.- Returns:
- a matching ExpirationActionType enumerated value given a GemFire ExpirationAction or null if no match was found.
- See Also:
-
valueOfIgnoreCase
Returns an ExpirationActionType enumerated value given a named, case-insensitive expiration action.- Parameters:
name
- a String name for the expiration action matching the ExpirationActionType.- Returns:
- a matching ExpirationActionType for the named, case-insensitive expiration action or null if no match could be found.
- See Also:
-
getExpirationAction
Gets the matching GemFire ExpirationAction for this enumerated value.- Returns:
- the GemFire ExpirationAction instance corresponding to this enumerated value.
- See Also:
-