Enum Class HotRodOperation

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

public enum HotRodOperation extends Enum<HotRodOperation>
Enumeration defining all of the possible hotrod operations
Since:
9.0
Author:
wburns
  • Enum Constant Details

  • Field Details

    • REQUEST_COUNT

      public static final int REQUEST_COUNT
  • Method Details

    • values

      public static HotRodOperation[] 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 HotRodOperation 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
    • getRequestOpCode

      public int getRequestOpCode()
    • getResponseOpCode

      public int getResponseOpCode()
    • fromRequestOpCode

      public static HotRodOperation fromRequestOpCode(byte op)
    • fromResponseOpCode

      public static HotRodOperation fromResponseOpCode(byte op)