Enum CacheOperationStatus
- java.lang.Object
-
- java.lang.Enum<CacheOperationStatus>
-
- com.scaleoutsoftware.digitaltwin.core.CacheOperationStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CacheOperationStatus>
,java.lang.constant.Constable
public enum CacheOperationStatus extends java.lang.Enum<CacheOperationStatus>
Status of a cache operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CacheCleared
The cache was cleared successfully.ObjectDoesNotExist
The object could not be retrieved because it was not found.ObjectPut
The object was successfully added/updated.ObjectRemoved
The object was removed successfully.ObjectRetrieved
The object was successfully retrieved.
-
Method Summary
Modifier and Type Method Description static CacheOperationStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CacheOperationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ObjectRetrieved
public static final CacheOperationStatus ObjectRetrieved
The object was successfully retrieved.
-
ObjectPut
public static final CacheOperationStatus ObjectPut
The object was successfully added/updated.
-
ObjectDoesNotExist
public static final CacheOperationStatus ObjectDoesNotExist
The object could not be retrieved because it was not found.
-
ObjectRemoved
public static final CacheOperationStatus ObjectRemoved
The object was removed successfully.
-
CacheCleared
public static final CacheOperationStatus CacheCleared
The cache was cleared successfully.
-
-
Method Detail
-
values
public static CacheOperationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheOperationStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-