Enum Class MessageType
- All Implemented Interfaces:
Serializable, Comparable<MessageType>, Constable
All operation codes for the LoomCache binary protocol.
Wire format (16-byte fixed header): ┌────────┬────────┬──────────┬──────────┐ │ magic │opcode │ corrId │ bodyLen │ │ 1 byte │1 byte │ 4 bytes │ 4 bytes │ ├────────┼────────┼──────────┼──────────┤ │ flags │keyLen │ status │ reserved │ │ 1 byte │2 bytes │ 1 byte │ 2 bytes │ └────────────────────────────────────────┘ Body: [key bytes][value bytes]
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionbytecode()static @Nullable MessageTypefromCode(byte code) O(1) lookup from wire byte to enum.static MessageTypeReturns the enum constant of this class with the specified name.static MessageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAP_GET
-
MAP_PUT
-
MAP_DELETE
-
MAP_CONTAINS
-
MAP_SIZE
-
MAP_KEYS
-
MAP_VALUES
-
MAP_PUT_IF_ABSENT
-
MAP_REPLACE
-
MAP_CLEAR
-
MAP_GET_ALL
-
MAP_PUT_ALL
-
MAP_EXECUTE_ON_KEY
-
MAP_EXECUTE_ON_KEYS
-
MAP_EXECUTE_ON_ENTRIES
-
MAP_COMPARE_DELETE
-
MAP_PUT_WITH_TTL
-
MAP_REPLACE_CAS
-
MAP_COMPUTE_IF_ABSENT
-
CLIENT_STATS_UPLOAD
-
QUEUE_OFFER
-
QUEUE_POLL
-
QUEUE_PEEK
-
QUEUE_SIZE
-
QUEUE_DRAIN
-
QUEUE_OFFER_ALL
-
QUEUE_POLL_N
-
QUEUE_DRAIN_TO
-
TOPIC_PUBLISH
-
TOPIC_SUBSCRIBE
-
TOPIC_UNSUBSCRIBE
-
TOPIC_EVENT
-
SET_ADD
-
SET_REMOVE
-
SET_CONTAINS
-
SET_SIZE
-
SET_CLEAR
-
SET_MEMBERS
-
LISTENER_REGISTER
-
LISTENER_DEREGISTER
-
LISTENER_EVENT
-
NEAR_CACHE_INVALIDATE
-
NEAR_CACHE_SUBSCRIBE
-
NEAR_CACHE_UNSUBSCRIBE
-
CQC_SUBSCRIBE
-
CQC_EVENT
-
CQC_UNSUBSCRIBE
-
CLUSTER_JOIN
-
CLUSTER_LEAVE
-
CLUSTER_PING
-
CLUSTER_PONG
-
CLUSTER_STATE
-
PARTITION_TABLE
-
CLUSTER_INFO
-
CLUSTER_NODES
-
CLUSTER_HEALTH
-
PARTITION_MIGRATE_START
-
PARTITION_MIGRATE_DATA
-
PARTITION_MIGRATE_COMPLETE
-
PARTITION_OWNERSHIP_UPDATE
-
PARTITION_MIGRATE_DATA_ACK
-
CONFIG_ADD_SERVER
-
CONFIG_REMOVE_SERVER
-
RAFT_VOTE_REQUEST
-
RAFT_VOTE_RESPONSE
-
RAFT_APPEND_ENTRIES
-
RAFT_APPEND_RESPONSE
-
RAFT_HEARTBEAT
-
RAFT_PRE_VOTE_REQUEST
-
RAFT_PRE_VOTE_RESPONSE
-
RAFT_INSTALL_SNAPSHOT
-
RAFT_INSTALL_SNAPSHOT_RESPONSE
-
RAFT_TIMEOUT_NOW
-
RAFT_TIMEOUT_NOW_RESPONSE
-
REPL_SYNC
-
REPL_ACK
-
AUTH
-
AUTH_RESPONSE
-
CP_LOCK_ACQUIRE
-
CP_LOCK_RELEASE
-
CP_SEMAPHORE_ACQUIRE
-
CP_SEMAPHORE_RELEASE
-
CP_ATOMIC_GET
-
CP_ATOMIC_SET
-
CP_ATOMIC_INCREMENT_AND_GET
-
CP_ATOMIC_DECREMENT_AND_GET
-
CP_ATOMIC_ADD_AND_GET
-
CP_ATOMIC_GET_AND_INCREMENT
-
CP_ATOMIC_GET_AND_DECREMENT
-
CP_ATOMIC_GET_AND_ADD
-
CP_ATOMIC_CAS
-
CP_SEMAPHORE_AVAILABLE_PERMITS
-
SQL_QUERY_EXECUTE
-
SQL_QUERY_RESULT
-
MAP_SCAN
-
SET_SCAN
-
MULTIMA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CH
-
PROTOCOL_HELLO
-
PROTOCOL_HELLO_ACK
-
PARTITION_TABLE_REQUEST
-
PARTITION_TABLE_RESPONSE
-
GSET_ADD
-
GSET_CONTAINS
-
GSET_MEMBERS
-
GSET_SIZE
-
ORSET_ADD
-
ORSET_REMOVE
-
ORSET_CONTAINS
-
ORSET_MEMBERS
-
ORSET_SIZE
-
LWW_GET
-
LWW_SET
-
LWW_TIMESTAMP
-
RESPONSE_OK
-
RESPONSE_ERROR
-
RESPONSE_NOT_FOUND
-
RESPONSE_REDIRECT
-
RESPONSE_SERVER_BUSY
-
RESPONSE_SEQUENCE_LOST
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
code
public byte code() -
fromCode
O(1) lookup from wire byte to enum. Returns null if unknown.
-