Interface HotRodConstants
-
- All Known Implementing Classes:
AbstractKeyOperation
,AbstractKeyValueOperation
,AddClientListenerOperation
,AddListenerOperation
,AddOperation
,AdminOperation
,AuthMechListOperation
,AuthOperation
,BulkGetKeysOperation
,BulkGetOperation
,ClearOperation
,Codec20
,Codec21
,Codec22
,Codec23
,Codec24
,Codec25
,Codec26
,Codec27
,Codec28
,CompareAndSwapOperation
,CompleteTransactionOperation
,ContainsEntryMultimapOperation
,ContainsKeyMultimapOperation
,ContainsKeyOperation
,ContainsValueMultimapOperation
,DefineCounterOperation
,ExecuteOperation
,FaultTolerantPingOperation
,GetAllOperation
,GetAllParallelOperation
,GetConfigurationOperation
,GetCounterNamesOperation
,GetKeyMultimapOperation
,GetKeyWithMetadataMultimapOperation
,GetOperation
,GetStreamOperation
,GetValueOperation
,GetWithMetadataOperation
,GetWithVersionOperation
,HotRodOperation
,IsDefinedOperation
,IterationEndOperation
,IterationNextOperation
,IterationStartOperation
,OperationsFactory
,ParallelHotRodOperation
,PingOperation
,PrepareTransactionOperation
,PutAllOperation
,PutAllParallelOperation
,PutIfAbsentOperation
,PutKeyValueMultimapOperation
,PutOperation
,PutStreamOperation
,QueryOperation
,RemoveClientListenerOperation
,RemoveEntryMultimapOperation
,RemoveIfUnmodifiedOperation
,RemoveKeyMultimapOperation
,RemoveListenerOperation
,RemoveOperation
,RemoveOperation
,ReplaceIfUnmodifiedOperation
,ReplaceOperation
,ResetOperation
,RetryOnFailureOperation
,SizeMultimapOperation
,SizeOperation
,StatsOperation
public interface HotRodConstants
Defines constants defined by Hot Rod specifications.- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HotRodConstants.Names
-
Field Summary
-
Method Summary
Static Methods Modifier and Type Method Description static boolean
hasCompatibility(short status)
static boolean
hasPrevious(int status)
static boolean
isInvalidIteration(short status)
static boolean
isNotExecuted(int status)
static boolean
isNotExist(int status)
static boolean
isSuccess(int status)
-
-
-
Field Detail
-
REQUEST_MAGIC
static final short REQUEST_MAGIC
- See Also:
- Constant Field Values
-
RESPONSE_MAGIC
static final short RESPONSE_MAGIC
- See Also:
- Constant Field Values
-
VERSION_10
static final byte VERSION_10
- See Also:
- Constant Field Values
-
VERSION_11
static final byte VERSION_11
- See Also:
- Constant Field Values
-
VERSION_12
static final byte VERSION_12
- See Also:
- Constant Field Values
-
VERSION_13
static final byte VERSION_13
- See Also:
- Constant Field Values
-
VERSION_20
static final byte VERSION_20
- See Also:
- Constant Field Values
-
VERSION_21
static final byte VERSION_21
- See Also:
- Constant Field Values
-
VERSION_22
static final byte VERSION_22
- See Also:
- Constant Field Values
-
VERSION_23
static final byte VERSION_23
- See Also:
- Constant Field Values
-
VERSION_24
static final byte VERSION_24
- See Also:
- Constant Field Values
-
VERSION_25
static final byte VERSION_25
- See Also:
- Constant Field Values
-
VERSION_26
static final byte VERSION_26
- See Also:
- Constant Field Values
-
VERSION_27
static final byte VERSION_27
- See Also:
- Constant Field Values
-
VERSION_28
static final byte VERSION_28
- See Also:
- Constant Field Values
-
ILLEGAL_OP_CODE
static final byte ILLEGAL_OP_CODE
- See Also:
- Constant Field Values
-
PUT_REQUEST
static final byte PUT_REQUEST
- See Also:
- Constant Field Values
-
GET_REQUEST
static final byte GET_REQUEST
- See Also:
- Constant Field Values
-
PUT_IF_ABSENT_REQUEST
static final byte PUT_IF_ABSENT_REQUEST
- See Also:
- Constant Field Values
-
REPLACE_REQUEST
static final byte REPLACE_REQUEST
- See Also:
- Constant Field Values
-
REPLACE_IF_UNMODIFIED_REQUEST
static final byte REPLACE_IF_UNMODIFIED_REQUEST
- See Also:
- Constant Field Values
-
REMOVE_REQUEST
static final byte REMOVE_REQUEST
- See Also:
- Constant Field Values
-
REMOVE_IF_UNMODIFIED_REQUEST
static final byte REMOVE_IF_UNMODIFIED_REQUEST
- See Also:
- Constant Field Values
-
CONTAINS_KEY_REQUEST
static final byte CONTAINS_KEY_REQUEST
- See Also:
- Constant Field Values
-
GET_WITH_VERSION
static final byte GET_WITH_VERSION
- See Also:
- Constant Field Values
-
CLEAR_REQUEST
static final byte CLEAR_REQUEST
- See Also:
- Constant Field Values
-
STATS_REQUEST
static final byte STATS_REQUEST
- See Also:
- Constant Field Values
-
PING_REQUEST
static final byte PING_REQUEST
- See Also:
- Constant Field Values
-
BULK_GET_REQUEST
static final byte BULK_GET_REQUEST
- See Also:
- Constant Field Values
-
GET_WITH_METADATA
static final byte GET_WITH_METADATA
- See Also:
- Constant Field Values
-
BULK_GET_KEYS_REQUEST
static final byte BULK_GET_KEYS_REQUEST
- See Also:
- Constant Field Values
-
QUERY_REQUEST
static final byte QUERY_REQUEST
- See Also:
- Constant Field Values
-
AUTH_MECH_LIST_REQUEST
static final byte AUTH_MECH_LIST_REQUEST
- See Also:
- Constant Field Values
-
AUTH_REQUEST
static final byte AUTH_REQUEST
- See Also:
- Constant Field Values
-
ADD_CLIENT_LISTENER_REQUEST
static final byte ADD_CLIENT_LISTENER_REQUEST
- See Also:
- Constant Field Values
-
REMOVE_CLIENT_LISTENER_REQUEST
static final byte REMOVE_CLIENT_LISTENER_REQUEST
- See Also:
- Constant Field Values
-
SIZE_REQUEST
static final byte SIZE_REQUEST
- See Also:
- Constant Field Values
-
EXEC_REQUEST
static final byte EXEC_REQUEST
- See Also:
- Constant Field Values
-
PUT_ALL_REQUEST
static final byte PUT_ALL_REQUEST
- See Also:
- Constant Field Values
-
GET_ALL_REQUEST
static final byte GET_ALL_REQUEST
- See Also:
- Constant Field Values
-
ITERATION_START_REQUEST
static final byte ITERATION_START_REQUEST
- See Also:
- Constant Field Values
-
ITERATION_NEXT_REQUEST
static final byte ITERATION_NEXT_REQUEST
- See Also:
- Constant Field Values
-
ITERATION_END_REQUEST
static final byte ITERATION_END_REQUEST
- See Also:
- Constant Field Values
-
GET_STREAM_REQUEST
static final byte GET_STREAM_REQUEST
- See Also:
- Constant Field Values
-
PUT_STREAM_REQUEST
static final byte PUT_STREAM_REQUEST
- See Also:
- Constant Field Values
-
PREPARE_REQUEST
static final byte PREPARE_REQUEST
- See Also:
- Constant Field Values
-
COMMIT_REQUEST
static final byte COMMIT_REQUEST
- See Also:
- Constant Field Values
-
ROLLBACK_REQUEST
static final byte ROLLBACK_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_CREATE_REQUEST
static final byte COUNTER_CREATE_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_GET_CONFIGURATION_REQUEST
static final byte COUNTER_GET_CONFIGURATION_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_IS_DEFINED_REQUEST
static final byte COUNTER_IS_DEFINED_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_ADD_AND_GET_REQUEST
static final byte COUNTER_ADD_AND_GET_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_RESET_REQUEST
static final byte COUNTER_RESET_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_GET_REQUEST
static final byte COUNTER_GET_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_CAS_REQUEST
static final byte COUNTER_CAS_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_ADD_LISTENER_REQUEST
static final byte COUNTER_ADD_LISTENER_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_REMOVE_LISTENER_REQUEST
static final byte COUNTER_REMOVE_LISTENER_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_REMOVE_REQUEST
static final byte COUNTER_REMOVE_REQUEST
- See Also:
- Constant Field Values
-
COUNTER_GET_NAMES_REQUEST
static final byte COUNTER_GET_NAMES_REQUEST
- See Also:
- Constant Field Values
-
PUT_RESPONSE
static final byte PUT_RESPONSE
- See Also:
- Constant Field Values
-
GET_RESPONSE
static final byte GET_RESPONSE
- See Also:
- Constant Field Values
-
PUT_IF_ABSENT_RESPONSE
static final byte PUT_IF_ABSENT_RESPONSE
- See Also:
- Constant Field Values
-
REPLACE_RESPONSE
static final byte REPLACE_RESPONSE
- See Also:
- Constant Field Values
-
REPLACE_IF_UNMODIFIED_RESPONSE
static final byte REPLACE_IF_UNMODIFIED_RESPONSE
- See Also:
- Constant Field Values
-
REMOVE_RESPONSE
static final byte REMOVE_RESPONSE
- See Also:
- Constant Field Values
-
REMOVE_IF_UNMODIFIED_RESPONSE
static final byte REMOVE_IF_UNMODIFIED_RESPONSE
- See Also:
- Constant Field Values
-
CONTAINS_KEY_RESPONSE
static final byte CONTAINS_KEY_RESPONSE
- See Also:
- Constant Field Values
-
GET_WITH_VERSION_RESPONSE
static final byte GET_WITH_VERSION_RESPONSE
- See Also:
- Constant Field Values
-
CLEAR_RESPONSE
static final byte CLEAR_RESPONSE
- See Also:
- Constant Field Values
-
STATS_RESPONSE
static final byte STATS_RESPONSE
- See Also:
- Constant Field Values
-
PING_RESPONSE
static final byte PING_RESPONSE
- See Also:
- Constant Field Values
-
BULK_GET_RESPONSE
static final byte BULK_GET_RESPONSE
- See Also:
- Constant Field Values
-
GET_WITH_METADATA_RESPONSE
static final byte GET_WITH_METADATA_RESPONSE
- See Also:
- Constant Field Values
-
BULK_GET_KEYS_RESPONSE
static final byte BULK_GET_KEYS_RESPONSE
- See Also:
- Constant Field Values
-
QUERY_RESPONSE
static final byte QUERY_RESPONSE
- See Also:
- Constant Field Values
-
AUTH_MECH_LIST_RESPONSE
static final byte AUTH_MECH_LIST_RESPONSE
- See Also:
- Constant Field Values
-
AUTH_RESPONSE
static final byte AUTH_RESPONSE
- See Also:
- Constant Field Values
-
ADD_CLIENT_LISTENER_RESPONSE
static final byte ADD_CLIENT_LISTENER_RESPONSE
- See Also:
- Constant Field Values
-
REMOVE_CLIENT_LISTENER_RESPONSE
static final byte REMOVE_CLIENT_LISTENER_RESPONSE
- See Also:
- Constant Field Values
-
SIZE_RESPONSE
static final byte SIZE_RESPONSE
- See Also:
- Constant Field Values
-
EXEC_RESPONSE
static final byte EXEC_RESPONSE
- See Also:
- Constant Field Values
-
PUT_ALL_RESPONSE
static final byte PUT_ALL_RESPONSE
- See Also:
- Constant Field Values
-
GET_ALL_RESPONSE
static final byte GET_ALL_RESPONSE
- See Also:
- Constant Field Values
-
ITERATION_START_RESPONSE
static final byte ITERATION_START_RESPONSE
- See Also:
- Constant Field Values
-
ITERATION_NEXT_RESPONSE
static final byte ITERATION_NEXT_RESPONSE
- See Also:
- Constant Field Values
-
ITERATION_END_RESPONSE
static final byte ITERATION_END_RESPONSE
- See Also:
- Constant Field Values
-
GET_STREAM_RESPONSE
static final byte GET_STREAM_RESPONSE
- See Also:
- Constant Field Values
-
PUT_STREAM_RESPONSE
static final byte PUT_STREAM_RESPONSE
- See Also:
- Constant Field Values
-
PREPARE_RESPONSE
static final byte PREPARE_RESPONSE
- See Also:
- Constant Field Values
-
COMMIT_RESPONSE
static final byte COMMIT_RESPONSE
- See Also:
- Constant Field Values
-
ROLLBACK_RESPONSE
static final byte ROLLBACK_RESPONSE
- See Also:
- Constant Field Values
-
ERROR_RESPONSE
static final byte ERROR_RESPONSE
- See Also:
- Constant Field Values
-
CACHE_ENTRY_CREATED_EVENT_RESPONSE
static final byte CACHE_ENTRY_CREATED_EVENT_RESPONSE
- See Also:
- Constant Field Values
-
CACHE_ENTRY_MODIFIED_EVENT_RESPONSE
static final byte CACHE_ENTRY_MODIFIED_EVENT_RESPONSE
- See Also:
- Constant Field Values
-
CACHE_ENTRY_REMOVED_EVENT_RESPONSE
static final byte CACHE_ENTRY_REMOVED_EVENT_RESPONSE
- See Also:
- Constant Field Values
-
CACHE_ENTRY_EXPIRED_EVENT_RESPONSE
static final byte CACHE_ENTRY_EXPIRED_EVENT_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_CREATE_RESPONSE
static final byte COUNTER_CREATE_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_GET_CONFIGURATION_RESPONSE
static final byte COUNTER_GET_CONFIGURATION_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_IS_DEFINED_RESPONSE
static final byte COUNTER_IS_DEFINED_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_ADD_AND_GET_RESPONSE
static final byte COUNTER_ADD_AND_GET_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_RESET_RESPONSE
static final byte COUNTER_RESET_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_GET_RESPONSE
static final byte COUNTER_GET_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_CAS_RESPONSE
static final byte COUNTER_CAS_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_ADD_LISTENER_RESPONSE
static final byte COUNTER_ADD_LISTENER_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_REMOVE_LISTENER_RESPONSE
static final byte COUNTER_REMOVE_LISTENER_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_REMOVE_RESPONSE
static final byte COUNTER_REMOVE_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_GET_NAMES_RESPONSE
static final byte COUNTER_GET_NAMES_RESPONSE
- See Also:
- Constant Field Values
-
COUNTER_EVENT_RESPONSE
static final byte COUNTER_EVENT_RESPONSE
- See Also:
- Constant Field Values
-
NO_ERROR_STATUS
static final byte NO_ERROR_STATUS
- See Also:
- Constant Field Values
-
NOT_PUT_REMOVED_REPLACED_STATUS
static final byte NOT_PUT_REMOVED_REPLACED_STATUS
- See Also:
- Constant Field Values
-
KEY_DOES_NOT_EXIST_STATUS
static final int KEY_DOES_NOT_EXIST_STATUS
- See Also:
- Constant Field Values
-
SUCCESS_WITH_PREVIOUS
static final int SUCCESS_WITH_PREVIOUS
- See Also:
- Constant Field Values
-
NOT_EXECUTED_WITH_PREVIOUS
static final int NOT_EXECUTED_WITH_PREVIOUS
- See Also:
- Constant Field Values
-
INVALID_ITERATION
static final int INVALID_ITERATION
- See Also:
- Constant Field Values
-
NO_ERROR_STATUS_COMPAT
static final byte NO_ERROR_STATUS_COMPAT
- See Also:
- Constant Field Values
-
SUCCESS_WITH_PREVIOUS_COMPAT
static final byte SUCCESS_WITH_PREVIOUS_COMPAT
- See Also:
- Constant Field Values
-
NOT_EXECUTED_WITH_PREVIOUS_COMPAT
static final byte NOT_EXECUTED_WITH_PREVIOUS_COMPAT
- See Also:
- Constant Field Values
-
INVALID_MAGIC_OR_MESSAGE_ID_STATUS
static final int INVALID_MAGIC_OR_MESSAGE_ID_STATUS
- See Also:
- Constant Field Values
-
REQUEST_PARSING_ERROR_STATUS
static final int REQUEST_PARSING_ERROR_STATUS
- See Also:
- Constant Field Values
-
UNKNOWN_COMMAND_STATUS
static final int UNKNOWN_COMMAND_STATUS
- See Also:
- Constant Field Values
-
SERVER_ERROR_STATUS
static final int SERVER_ERROR_STATUS
- See Also:
- Constant Field Values
-
UNKNOWN_VERSION_STATUS
static final int UNKNOWN_VERSION_STATUS
- See Also:
- Constant Field Values
-
COMMAND_TIMEOUT_STATUS
static final int COMMAND_TIMEOUT_STATUS
- See Also:
- Constant Field Values
-
NODE_SUSPECTED
static final int NODE_SUSPECTED
- See Also:
- Constant Field Values
-
ILLEGAL_LIFECYCLE_STATE
static final int ILLEGAL_LIFECYCLE_STATE
- See Also:
- Constant Field Values
-
CLIENT_INTELLIGENCE_BASIC
@Deprecated static final byte CLIENT_INTELLIGENCE_BASIC
Deprecated.useClientIntelligence.BASIC
instead- See Also:
- Constant Field Values
-
CLIENT_INTELLIGENCE_TOPOLOGY_AWARE
@Deprecated static final byte CLIENT_INTELLIGENCE_TOPOLOGY_AWARE
Deprecated.useClientIntelligence.TOPOLOGY_AWARE
instead- See Also:
- Constant Field Values
-
CLIENT_INTELLIGENCE_HASH_DISTRIBUTION_AWARE
@Deprecated static final byte CLIENT_INTELLIGENCE_HASH_DISTRIBUTION_AWARE
Deprecated.useClientIntelligence.HASH_DISTRIBUTION_AWARE
instead- See Also:
- Constant Field Values
-
HOTROD_STRING_CHARSET
static final Charset HOTROD_STRING_CHARSET
-
DEFAULT_CACHE_NAME_BYTES
static final byte[] DEFAULT_CACHE_NAME_BYTES
-
INFINITE_LIFESPAN
static final byte INFINITE_LIFESPAN
- See Also:
- Constant Field Values
-
INFINITE_MAXIDLE
static final byte INFINITE_MAXIDLE
- See Also:
- Constant Field Values
-
DEFAULT_CACHE_TOPOLOGY
static final int DEFAULT_CACHE_TOPOLOGY
- See Also:
- Constant Field Values
-
SWITCH_CLUSTER_TOPOLOGY
static final int SWITCH_CLUSTER_TOPOLOGY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSuccess
static boolean isSuccess(int status)
-
isNotExecuted
static boolean isNotExecuted(int status)
-
isNotExist
static boolean isNotExist(int status)
-
hasPrevious
static boolean hasPrevious(int status)
-
hasCompatibility
static boolean hasCompatibility(short status)
-
isInvalidIteration
static boolean isInvalidIteration(short status)
-
-