Enum Class OperationStatus

java.lang.Object
java.lang.Enum<OperationStatus>
org.infinispan.server.hotrod.OperationStatus
All Implemented Interfaces:
Serializable, Comparable<OperationStatus>, Constable

public enum OperationStatus extends Enum<OperationStatus>
Hot Rod operation possible status outcomes.
Since:
4.1
Author:
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 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 OperationStatus 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
    • getCode

      public byte getCode()
    • fromCode

      public static OperationStatus fromCode(byte code)