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 HotRodConstantsDefines constants defined by Hot Rod specifications.- Since:
- 14.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHotRodConstants.Names
-
Field Summary
-
Method Summary
Static Methods Modifier and Type Method Description static booleanhasPrevious(int status)static booleanisInvalidIteration(short status)static booleanisNotExecuted(int status)static booleanisNotExist(int status)static booleanisObjectStorage(short status)static booleanisSuccess(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_40
static final byte VERSION_40
- 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
-
ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_REQUEST
static final byte ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_REQUEST
- See Also:
- Constant Field Values
-
UPDATE_BLOOM_FILTER_REQUEST
static final byte UPDATE_BLOOM_FILTER_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
-
FORGET_TX_REQUEST
static final byte FORGET_TX_REQUEST
- See Also:
- Constant Field Values
-
FETCH_TX_RECOVERY_REQUEST
static final byte FETCH_TX_RECOVERY_REQUEST
- See Also:
- Constant Field Values
-
PREPARE_TX_2_REQUEST
static final byte PREPARE_TX_2_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
-
ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_RESPONSE
static final byte ADD_BLOOM_FILTER_NEAR_CACHE_LISTENER_RESPONSE
- See Also:
- Constant Field Values
-
UPDATE_BLOOM_FILTER_RESPONSE
static final byte UPDATE_BLOOM_FILTER_RESPONSE
- See Also:
- Constant Field Values
-
FORGET_TX_RESPONSE
static final byte FORGET_TX_RESPONSE
- See Also:
- Constant Field Values
-
FETCH_TX_RECOVERY_RESPONSE
static final byte FETCH_TX_RECOVERY_RESPONSE
- See Also:
- Constant Field Values
-
PREPARE_TX_2_RESPONSE
static final byte PREPARE_TX_2_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_OBJ_STORAGE
static final byte NO_ERROR_STATUS_OBJ_STORAGE
- See Also:
- Constant Field Values
-
SUCCESS_WITH_PREVIOUS_OBJ_STORAGE
static final byte SUCCESS_WITH_PREVIOUS_OBJ_STORAGE
- See Also:
- Constant Field Values
-
NOT_EXECUTED_WITH_PREVIOUS_OBJ_STORAGE
static final byte NOT_EXECUTED_WITH_PREVIOUS_OBJ_STORAGE
- 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
-
UNKNOWN_VERSION_STATUS
static final int UNKNOWN_VERSION_STATUS
- See Also:
- Constant Field Values
-
SERVER_ERROR_STATUS
static final int SERVER_ERROR_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
-
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)
-
isObjectStorage
static boolean isObjectStorage(short status)
-
isInvalidIteration
static boolean isInvalidIteration(short status)
-
-