Enum Class CacheOperationStatus
- All Implemented Interfaces:
Serializable
,Comparable<CacheOperationStatus>
,Constable
Status of a cache operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cache was cleared successfully.The object could not be retrieved because it was not found.The object was successfully added/updated.The object was removed successfully.The object was successfully retrieved. -
Method Summary
Modifier and TypeMethodDescriptionstatic CacheOperationStatus
Returns the enum constant of this class with the specified name.static CacheOperationStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ObjectRetrieved
The object was successfully retrieved. -
ObjectPut
The object was successfully added/updated. -
ObjectDoesNotExist
The object could not be retrieved because it was not found. -
ObjectRemoved
The object was removed successfully. -
CacheCleared
The cache was cleared successfully.
-
-
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
-