Enum Class CacheOperationStatus

java.lang.Object
java.lang.Enum<CacheOperationStatus>
com.scaleoutsoftware.digitaltwin.core.CacheOperationStatus
All Implemented Interfaces:
Serializable, Comparable<CacheOperationStatus>, Constable

public enum CacheOperationStatus extends Enum<CacheOperationStatus>
Status of a cache operation.
  • Enum Constant Details

    • 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 Details

    • values

      public static CacheOperationStatus[] 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

      public static CacheOperationStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null