Enum OperationStatus

All Implemented Interfaces:
Serializable, Comparable<OperationStatus>

public enum OperationStatus extends Enum<OperationStatus>
Hot Rod operation possible status outcomes.
Galder ZamarreƱo
  • Enum Constant Details

    • Success

      public static final OperationStatus Success
    • OperationNotExecuted

      public static final OperationStatus OperationNotExecuted
    • KeyDoesNotExist

      public static final OperationStatus KeyDoesNotExist
    • SuccessWithPrevious

      public static final OperationStatus SuccessWithPrevious
    • NotExecutedWithPrevious

      public static final OperationStatus NotExecutedWithPrevious
    • InvalidIteration

      public static final OperationStatus InvalidIteration
    • SuccessObjStorage

      public static final OperationStatus SuccessObjStorage
    • SuccessWithPreviousObjStorage

      public static final OperationStatus SuccessWithPreviousObjStorage
    • NotExecutedWithPreviousObjStorage

      public static final OperationStatus NotExecutedWithPreviousObjStorage
    • InvalidMagicOrMsgId

      public static final OperationStatus InvalidMagicOrMsgId
    • UnknownOperation

      public static final OperationStatus UnknownOperation
    • UnknownVersion

      public static final OperationStatus UnknownVersion
    • ParseError

      public static final OperationStatus ParseError
    • ServerError

      public static final OperationStatus ServerError
    • OperationTimedOut

      public static final OperationStatus OperationTimedOut
    • NodeSuspected

      public static final OperationStatus NodeSuspected
    • IllegalLifecycleState

      public static final OperationStatus IllegalLifecycleState
  • Method Details

    • values

      public static OperationStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OperationStatus valueOf(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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public byte getCode()
    • fromCode

      public static OperationStatus fromCode(byte code)