Package org.infinispan.server.hotrod
Enum HotRodOperation
- java.lang.Object
-
- java.lang.Enum<HotRodOperation>
-
- org.infinispan.server.hotrod.HotRodOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<HotRodOperation>
public enum HotRodOperation extends Enum<HotRodOperation>
Enumeration defining all of the possible hotrod operations- Since:
- 9.0
- Author:
- wburns
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HotRodOperation
fromRequestOpCode(byte op)
static HotRodOperation
fromResponseOpCode(byte op)
int
getRequestOpCode()
int
getResponseOpCode()
static HotRodOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static HotRodOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUT
public static final HotRodOperation PUT
-
PUT_IF_ABSENT
public static final HotRodOperation PUT_IF_ABSENT
-
REPLACE
public static final HotRodOperation REPLACE
-
REPLACE_IF_UNMODIFIED
public static final HotRodOperation REPLACE_IF_UNMODIFIED
-
CONTAINS_KEY
public static final HotRodOperation CONTAINS_KEY
-
GET
public static final HotRodOperation GET
-
GET_WITH_VERSION
public static final HotRodOperation GET_WITH_VERSION
-
GET_WITH_METADATA
public static final HotRodOperation GET_WITH_METADATA
-
REMOVE
public static final HotRodOperation REMOVE
-
REMOVE_IF_UNMODIFIED
public static final HotRodOperation REMOVE_IF_UNMODIFIED
-
PING
public static final HotRodOperation PING
-
STATS
public static final HotRodOperation STATS
-
CLEAR
public static final HotRodOperation CLEAR
-
SIZE
public static final HotRodOperation SIZE
-
AUTH_MECH_LIST
public static final HotRodOperation AUTH_MECH_LIST
-
AUTH
public static final HotRodOperation AUTH
-
EXEC
public static final HotRodOperation EXEC
-
BULK_GET
public static final HotRodOperation BULK_GET
-
BULK_GET_KEYS
public static final HotRodOperation BULK_GET_KEYS
-
QUERY
public static final HotRodOperation QUERY
-
ADD_CLIENT_LISTENER
public static final HotRodOperation ADD_CLIENT_LISTENER
-
REMOVE_CLIENT_LISTENER
public static final HotRodOperation REMOVE_CLIENT_LISTENER
-
ITERATION_START
public static final HotRodOperation ITERATION_START
-
ITERATION_NEXT
public static final HotRodOperation ITERATION_NEXT
-
ITERATION_END
public static final HotRodOperation ITERATION_END
-
PUT_ALL
public static final HotRodOperation PUT_ALL
-
GET_ALL
public static final HotRodOperation GET_ALL
-
GET_STREAM
public static final HotRodOperation GET_STREAM
-
PUT_STREAM
public static final HotRodOperation PUT_STREAM
-
PREPARE_TX
public static final HotRodOperation PREPARE_TX
-
COMMIT_TX
public static final HotRodOperation COMMIT_TX
-
ROLLBACK_TX
public static final HotRodOperation ROLLBACK_TX
-
FORGET_TX
public static final HotRodOperation FORGET_TX
-
FETCH_TX_RECOVERY
public static final HotRodOperation FETCH_TX_RECOVERY
-
PREPARE_TX_2
public static final HotRodOperation PREPARE_TX_2
-
COUNTER_CREATE
public static final HotRodOperation COUNTER_CREATE
-
COUNTER_GET_CONFIGURATION
public static final HotRodOperation COUNTER_GET_CONFIGURATION
-
COUNTER_IS_DEFINED
public static final HotRodOperation COUNTER_IS_DEFINED
-
COUNTER_ADD_AND_GET
public static final HotRodOperation COUNTER_ADD_AND_GET
-
COUNTER_RESET
public static final HotRodOperation COUNTER_RESET
-
COUNTER_GET
public static final HotRodOperation COUNTER_GET
-
COUNTER_CAS
public static final HotRodOperation COUNTER_CAS
-
COUNTER_ADD_LISTENER
public static final HotRodOperation COUNTER_ADD_LISTENER
-
COUNTER_REMOVE_LISTENER
public static final HotRodOperation COUNTER_REMOVE_LISTENER
-
COUNTER_REMOVE
public static final HotRodOperation COUNTER_REMOVE
-
COUNTER_GET_NAMES
public static final HotRodOperation COUNTER_GET_NAMES
-
GET_MULTIMAP
public static final HotRodOperation GET_MULTIMAP
-
GET_MULTIMAP_WITH_METADATA
public static final HotRodOperation GET_MULTIMAP_WITH_METADATA
-
PUT_MULTIMAP
public static final HotRodOperation PUT_MULTIMAP
-
REMOVE_MULTIMAP
public static final HotRodOperation REMOVE_MULTIMAP
-
REMOVE_ENTRY_MULTIMAP
public static final HotRodOperation REMOVE_ENTRY_MULTIMAP
-
SIZE_MULTIMAP
public static final HotRodOperation SIZE_MULTIMAP
-
CONTAINS_ENTRY_MULTIMAP
public static final HotRodOperation CONTAINS_ENTRY_MULTIMAP
-
CONTAINS_KEY_MULTIMAP
public static final HotRodOperation CONTAINS_KEY_MULTIMAP
-
CONTAINS_VALUE_MULTIMAP
public static final HotRodOperation CONTAINS_VALUE_MULTIMAP
-
ERROR
public static final HotRodOperation ERROR
-
CACHE_ENTRY_CREATED_EVENT
public static final HotRodOperation CACHE_ENTRY_CREATED_EVENT
-
CACHE_ENTRY_MODIFIED_EVENT
public static final HotRodOperation CACHE_ENTRY_MODIFIED_EVENT
-
CACHE_ENTRY_REMOVED_EVENT
public static final HotRodOperation CACHE_ENTRY_REMOVED_EVENT
-
CACHE_ENTRY_EXPIRED_EVENT
public static final HotRodOperation CACHE_ENTRY_EXPIRED_EVENT
-
COUNTER_EVENT
public static final HotRodOperation COUNTER_EVENT
-
-
Method Detail
-
values
public static HotRodOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HotRodOperation c : HotRodOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HotRodOperation 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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)
-
-