Interface HotRodConstants
- All Known Implementing Classes:
AbstractKeyOperation,AbstractKeyValueOperation,AbstractMultimapKeyOperation,AbstractMultimapKeyValueOperation,AbstractPutIfAbsentOperation,AbstractPutOperation,AbstractRemoveOperation,AddBloomNearCacheClientListenerOperation,AddClientListenerOperation,AddListenerOperation,AddOperation,AdminOperation,AuthMechListOperation,AuthOperation,BulkGetKeysOperation,CacheOperationsFactory,ClearOperation,ClientListenerOperation,Codec40,CompareAndSwapOperation,CompleteTransactionOperation,ContainsEntryMultimapOperation,ContainsKeyMultimapOperation,ContainsKeyOperation,ContainsValueMultimapOperation,DefineCounterOperation,ExecuteOperation,FaultTolerantPingOperation,ForgetTransactionOperation,GetAllOperation,GetAllParallelOperation,GetAndRemoveOperation,GetConfigurationOperation,GetCounterNamesOperation,GetKeyMultimapOperation,GetKeyWithMetadataMultimapOperation,GetOperation,GetStreamOperation,GetValueOperation,GetWithMetadataOperation,HotRodOperation,IsDefinedOperation,IterationEndOperation,IterationNextOperation,IterationStartOperation,ParallelHotRodOperation,PingOperation,PrepareTransactionOperation,PutAllOperation,PutAllParallelOperation,PutIfAbsentOperation,PutKeyValueMultimapOperation,PutOperation,PutStreamOperation,QueryOperation,RecoveryOperation,RemoveClientListenerOperation,RemoveEntryMultimapOperation,RemoveIfUnmodifiedOperation,RemoveKeyMultimapOperation,RemoveListenerOperation,RemoveOperation,RemoveOperation,ReplaceIfUnmodifiedOperation,ReplaceOperation,ResetOperation,RetryOnFailureOperation,SetIfAbsentOperation,SetOperation,SizeMultimapOperation,SizeOperation,StatsAffectingHotRodOperation,StatsAffectingRetryingOperation,StatsOperation,UpdateBloomFilterOperation
public interface HotRodConstants
Defines constants defined by Hot Rod specifications.
- Since:
- 14.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byte[]static final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final Charsetstatic final intstatic final bytestatic final bytestatic final bytestatic final intstatic final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final intstatic final bytestatic final bytestatic final intstatic final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final shortstatic final intstatic final shortstatic final bytestatic final bytestatic final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final intstatic final bytestatic final intstatic final intstatic final intstatic final bytestatic final bytestatic final byte -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic booleanhasPrevious(int status) static booleanisInvalidIteration(short status) static booleanisNotExecuted(int status) static booleanisNotExist(int status) static booleanisObjectStorage(short status) static booleanisSuccess(int status)
-
Field Details
-
REQUEST_MAGIC
static final short REQUEST_MAGIC- See Also:
-
RESPONSE_MAGIC
static final short RESPONSE_MAGIC- See Also:
-
VERSION_40
static final byte VERSION_40- See Also:
-
ILLEGAL_OP_CODE
static final byte ILLEGAL_OP_CODE- See Also:
-
PUT_REQUEST
static final byte PUT_REQUEST- See Also:
-
GET_REQUEST
static final byte GET_REQUEST- See Also:
-
PUT_IF_ABSENT_REQUEST
static final byte PUT_IF_ABSENT_REQUEST- See Also:
-
REPLACE_REQUEST
static final byte REPLACE_REQUEST- See Also:
-
REPLACE_IF_UNMODIFIED_REQUEST
static final byte REPLACE_IF_UNMODIFIED_REQUEST- See Also:
-
REMOVE_REQUEST
static final byte REMOVE_REQUEST- See Also:
-
REMOVE_IF_UNMODIFIED_REQUEST
static final byte REMOVE_IF_UNMODIFIED_REQUEST- See Also:
-
CONTAINS_KEY_REQUEST
static final byte CONTAINS_KEY_REQUEST- See Also:
-
GET_WITH_VERSION
static final byte GET_WITH_VERSION- See Also:
-
CLEAR_REQUEST
static final byte CLEAR_REQUEST- See Also:
-
STATS_REQUEST
static final byte STATS_REQUEST- See Also:
-
PING_REQUEST
static final byte PING_REQUEST- See Also:
-
BULK_GET_REQUEST
static final byte BULK_GET_REQUEST- See Also:
-
GET_WITH_METADATA
static final byte GET_WITH_METADATA- See Also:
-
BULK_GET_KEYS_REQUEST
static final byte BULK_GET_KEYS_REQUEST- See Also:
-
QUERY_REQUEST
static final byte QUERY_REQUEST- See Also:
-
AUTH_MECH_LIST_REQUEST
static final byte AUTH_MECH_LIST_REQUEST- See Also:
-
AUTH_REQUEST
static final byte AUTH_REQUEST- See Also:
-
ADD_CLIENT_LISTENER_REQUEST
static final byte ADD_CLIENT_LISTENER_REQUEST- See Also:
-
REMOVE_CLIENT_LISTENER_REQUEST
static final byte REMOVE_CLIENT_LISTENER_REQUEST- See Also:
-
SIZE_REQUEST
static final byte SIZE_REQUEST- See Also:
-
EXEC_REQUEST
static final byte EXEC_REQUEST- See Also:
-
PUT_ALL_REQUEST
static final byte PUT_ALL_REQUEST- See Also:
-
GET_ALL_REQUEST
static final byte GET_ALL_REQUEST- See Also:
-
ITERATION_START_REQUEST
static final byte ITERATION_START_REQUEST- See Also:
-
ITERATION_NEXT_REQUEST
static final byte ITERATION_NEXT_REQUEST- See Also:
-
ITERATION_END_REQUEST
static final byte ITERATION_END_REQUEST- See Also:
-
GET_STREAM_REQUEST
static final byte GET_STREAM_REQUEST- See Also:
-
PUT_STREAM_REQUEST
static final byte PUT_STREAM_REQUEST- See Also:
-
PREPARE_REQUEST
static final byte PREPARE_REQUEST- See Also:
-
COMMIT_REQUEST
static final byte COMMIT_REQUEST- See Also:
-
ROLLBACK_REQUEST
static final byte ROLLBACK_REQUEST- See Also:
-
ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_REQUEST
static final byte ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_REQUEST- See Also:
-
UPDATE_BLOOM_FILTER_REQUEST
static final byte UPDATE_BLOOM_FILTER_REQUEST- See Also:
-
COUNTER_CREATE_REQUEST
static final byte COUNTER_CREATE_REQUEST- See Also:
-
COUNTER_GET_CONFIGURATION_REQUEST
static final byte COUNTER_GET_CONFIGURATION_REQUEST- See Also:
-
COUNTER_IS_DEFINED_REQUEST
static final byte COUNTER_IS_DEFINED_REQUEST- See Also:
-
COUNTER_ADD_AND_GET_REQUEST
static final byte COUNTER_ADD_AND_GET_REQUEST- See Also:
-
COUNTER_RESET_REQUEST
static final byte COUNTER_RESET_REQUEST- See Also:
-
COUNTER_GET_REQUEST
static final byte COUNTER_GET_REQUEST- See Also:
-
COUNTER_CAS_REQUEST
static final byte COUNTER_CAS_REQUEST- See Also:
-
COUNTER_ADD_LISTENER_REQUEST
static final byte COUNTER_ADD_LISTENER_REQUEST- See Also:
-
COUNTER_REMOVE_LISTENER_REQUEST
static final byte COUNTER_REMOVE_LISTENER_REQUEST- See Also:
-
COUNTER_REMOVE_REQUEST
static final byte COUNTER_REMOVE_REQUEST- See Also:
-
COUNTER_GET_NAMES_REQUEST
static final byte COUNTER_GET_NAMES_REQUEST- See Also:
-
FORGET_TX_REQUEST
static final byte FORGET_TX_REQUEST- See Also:
-
FETCH_TX_RECOVERY_REQUEST
static final byte FETCH_TX_RECOVERY_REQUEST- See Also:
-
PREPARE_TX_2_REQUEST
static final byte PREPARE_TX_2_REQUEST- See Also:
-
PUT_RESPONSE
static final byte PUT_RESPONSE- See Also:
-
GET_RESPONSE
static final byte GET_RESPONSE- See Also:
-
PUT_IF_ABSENT_RESPONSE
static final byte PUT_IF_ABSENT_RESPONSE- See Also:
-
REPLACE_RESPONSE
static final byte REPLACE_RESPONSE- See Also:
-
REPLACE_IF_UNMODIFIED_RESPONSE
static final byte REPLACE_IF_UNMODIFIED_RESPONSE- See Also:
-
REMOVE_RESPONSE
static final byte REMOVE_RESPONSE- See Also:
-
REMOVE_IF_UNMODIFIED_RESPONSE
static final byte REMOVE_IF_UNMODIFIED_RESPONSE- See Also:
-
CONTAINS_KEY_RESPONSE
static final byte CONTAINS_KEY_RESPONSE- See Also:
-
GET_WITH_VERSION_RESPONSE
static final byte GET_WITH_VERSION_RESPONSE- See Also:
-
CLEAR_RESPONSE
static final byte CLEAR_RESPONSE- See Also:
-
STATS_RESPONSE
static final byte STATS_RESPONSE- See Also:
-
PING_RESPONSE
static final byte PING_RESPONSE- See Also:
-
BULK_GET_RESPONSE
static final byte BULK_GET_RESPONSE- See Also:
-
GET_WITH_METADATA_RESPONSE
static final byte GET_WITH_METADATA_RESPONSE- See Also:
-
BULK_GET_KEYS_RESPONSE
static final byte BULK_GET_KEYS_RESPONSE- See Also:
-
QUERY_RESPONSE
static final byte QUERY_RESPONSE- See Also:
-
AUTH_MECH_LIST_RESPONSE
static final byte AUTH_MECH_LIST_RESPONSE- See Also:
-
AUTH_RESPONSE
static final byte AUTH_RESPONSE- See Also:
-
ADD_CLIENT_LISTENER_RESPONSE
static final byte ADD_CLIENT_LISTENER_RESPONSE- See Also:
-
REMOVE_CLIENT_LISTENER_RESPONSE
static final byte REMOVE_CLIENT_LISTENER_RESPONSE- See Also:
-
SIZE_RESPONSE
static final byte SIZE_RESPONSE- See Also:
-
EXEC_RESPONSE
static final byte EXEC_RESPONSE- See Also:
-
PUT_ALL_RESPONSE
static final byte PUT_ALL_RESPONSE- See Also:
-
GET_ALL_RESPONSE
static final byte GET_ALL_RESPONSE- See Also:
-
ITERATION_START_RESPONSE
static final byte ITERATION_START_RESPONSE- See Also:
-
ITERATION_NEXT_RESPONSE
static final byte ITERATION_NEXT_RESPONSE- See Also:
-
ITERATION_END_RESPONSE
static final byte ITERATION_END_RESPONSE- See Also:
-
GET_STREAM_RESPONSE
static final byte GET_STREAM_RESPONSE- See Also:
-
PUT_STREAM_RESPONSE
static final byte PUT_STREAM_RESPONSE- See Also:
-
PREPARE_RESPONSE
static final byte PREPARE_RESPONSE- See Also:
-
COMMIT_RESPONSE
static final byte COMMIT_RESPONSE- See Also:
-
ROLLBACK_RESPONSE
static final byte ROLLBACK_RESPONSE- See Also:
-
ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_RESPONSE
static final byte ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_RESPONSE- See Also:
-
UPDATE_BLOOM_FILTER_RESPONSE
static final byte UPDATE_BLOOM_FILTER_RESPONSE- See Also:
-
FORGET_TX_RESPONSE
static final byte FORGET_TX_RESPONSE- See Also:
-
FETCH_TX_RECOVERY_RESPONSE
static final byte FETCH_TX_RECOVERY_RESPONSE- See Also:
-
PREPARE_TX_2_RESPONSE
static final byte PREPARE_TX_2_RESPONSE- See Also:
-
ERROR_RESPONSE
static final byte ERROR_RESPONSE- See Also:
-
CACHE_ENTRY_CREATED_EVENT_RESPONSE
static final byte CACHE_ENTRY_CREATED_EVENT_RESPONSE- See Also:
-
CACHE_ENTRY_MODIFIED_EVENT_RESPONSE
static final byte CACHE_ENTRY_MODIFIED_EVENT_RESPONSE- See Also:
-
CACHE_ENTRY_REMOVED_EVENT_RESPONSE
static final byte CACHE_ENTRY_REMOVED_EVENT_RESPONSE- See Also:
-
CACHE_ENTRY_EXPIRED_EVENT_RESPONSE
static final byte CACHE_ENTRY_EXPIRED_EVENT_RESPONSE- See Also:
-
COUNTER_CREATE_RESPONSE
static final byte COUNTER_CREATE_RESPONSE- See Also:
-
COUNTER_GET_CONFIGURATION_RESPONSE
static final byte COUNTER_GET_CONFIGURATION_RESPONSE- See Also:
-
COUNTER_IS_DEFINED_RESPONSE
static final byte COUNTER_IS_DEFINED_RESPONSE- See Also:
-
COUNTER_ADD_AND_GET_RESPONSE
static final byte COUNTER_ADD_AND_GET_RESPONSE- See Also:
-
COUNTER_RESET_RESPONSE
static final byte COUNTER_RESET_RESPONSE- See Also:
-
COUNTER_GET_RESPONSE
static final byte COUNTER_GET_RESPONSE- See Also:
-
COUNTER_CAS_RESPONSE
static final byte COUNTER_CAS_RESPONSE- See Also:
-
COUNTER_ADD_LISTENER_RESPONSE
static final byte COUNTER_ADD_LISTENER_RESPONSE- See Also:
-
COUNTER_REMOVE_LISTENER_RESPONSE
static final byte COUNTER_REMOVE_LISTENER_RESPONSE- See Also:
-
COUNTER_REMOVE_RESPONSE
static final byte COUNTER_REMOVE_RESPONSE- See Also:
-
COUNTER_GET_NAMES_RESPONSE
static final byte COUNTER_GET_NAMES_RESPONSE- See Also:
-
COUNTER_EVENT_RESPONSE
static final byte COUNTER_EVENT_RESPONSE- See Also:
-
NO_ERROR_STATUS
static final byte NO_ERROR_STATUS- See Also:
-
NOT_PUT_REMOVED_REPLACED_STATUS
static final byte NOT_PUT_REMOVED_REPLACED_STATUS- See Also:
-
KEY_DOES_NOT_EXIST_STATUS
static final int KEY_DOES_NOT_EXIST_STATUS- See Also:
-
SUCCESS_WITH_PREVIOUS
static final int SUCCESS_WITH_PREVIOUS- See Also:
-
NOT_EXECUTED_WITH_PREVIOUS
static final int NOT_EXECUTED_WITH_PREVIOUS- See Also:
-
INVALID_ITERATION
static final int INVALID_ITERATION- See Also:
-
NO_ERROR_STATUS_OBJ_STORAGE
static final byte NO_ERROR_STATUS_OBJ_STORAGE- See Also:
-
SUCCESS_WITH_PREVIOUS_OBJ_STORAGE
static final byte SUCCESS_WITH_PREVIOUS_OBJ_STORAGE- See Also:
-
NOT_EXECUTED_WITH_PREVIOUS_OBJ_STORAGE
static final byte NOT_EXECUTED_WITH_PREVIOUS_OBJ_STORAGE- See Also:
-
INVALID_MAGIC_OR_MESSAGE_ID_STATUS
static final int INVALID_MAGIC_OR_MESSAGE_ID_STATUS- See Also:
-
REQUEST_PARSING_ERROR_STATUS
static final int REQUEST_PARSING_ERROR_STATUS- See Also:
-
UNKNOWN_COMMAND_STATUS
static final int UNKNOWN_COMMAND_STATUS- See Also:
-
UNKNOWN_VERSION_STATUS
static final int UNKNOWN_VERSION_STATUS- See Also:
-
SERVER_ERROR_STATUS
static final int SERVER_ERROR_STATUS- See Also:
-
COMMAND_TIMEOUT_STATUS
static final int COMMAND_TIMEOUT_STATUS- See Also:
-
NODE_SUSPECTED
static final int NODE_SUSPECTED- See Also:
-
ILLEGAL_LIFECYCLE_STATE
static final int ILLEGAL_LIFECYCLE_STATE- See Also:
-
HOTROD_STRING_CHARSET
-
DEFAULT_CACHE_NAME_BYTES
static final byte[] DEFAULT_CACHE_NAME_BYTES -
INFINITE_LIFESPAN
static final byte INFINITE_LIFESPAN- See Also:
-
INFINITE_MAXIDLE
static final byte INFINITE_MAXIDLE- See Also:
-
DEFAULT_CACHE_TOPOLOGY
static final int DEFAULT_CACHE_TOPOLOGY- See Also:
-
SWITCH_CLUSTER_TOPOLOGY
static final int SWITCH_CLUSTER_TOPOLOGY- See Also:
-
-
Method Details
-
isSuccess
static boolean isSuccess(int status) -
isNotExecuted
static boolean isNotExecuted(int status) -
isNotExist
static boolean isNotExist(int status) -
hasPrevious
static boolean hasPrevious(int status) -
isObjectStorage
static boolean isObjectStorage(short status) -
isInvalidIteration
static boolean isInvalidIteration(short status)
-