Enum CommandHelper.LasCommandId
java.lang.Object
java.lang.Enum<CommandHelper.LasCommandId>
com.illumon.iris.db.v2.logaggregator.CommandHelper.LasCommandId
- All Implemented Interfaces:
Serializable
,Comparable<CommandHelper.LasCommandId>
,java.lang.constant.Constable
- Enclosing class:
- CommandHelper
public static enum CommandHelper.LasCommandId extends Enum<CommandHelper.LasCommandId>
These commands are passed between BinaryStoreAggregatorWriter implementations and the
LogAggregator service.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT_HEADER
server:client: the connection is accepted.BATCH_DATA
client:server batched row data.CLIENT_DELETE_PARTITION_ACK
server:client the delete partition request has been processed.CLIENT_FINISHED_ACK
server:client ack for CLIENT_FINISHED.CLIENT_INITIATE
client:server open a connection.CLIENT_INITIATE2
client:server open a connection.FLUSH_ACK
server:client all records received prior to the CLIENT_REQUEST_FLUSH message have been processed.LAS_COMMAND
LAS_DATA
REJECT_AUTH_TOKEN
server:client the connection is rejected due to bad auth token.REJECT_HEADER
server:client the connection is rejected.REJECT_PERMISSIONS
server:client the connection is rejected, user does not have write permission.SERVER_TERMINATE
server:client the connection is going to be closed immediately. -
Field Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(byte val)
static CommandHelper.LasCommandId
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommandHelper.LasCommandId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LAS_DATA
-
LAS_COMMAND
-
CLIENT_INITIATE
client:server open a connection. Identifiers and binary header to follow. -
CLIENT_INITIATE2
client:server open a connection. Identifiers, auth token, and binary header to follow. -
ACCEPT_HEADER
server:client: the connection is accepted. -
REJECT_HEADER
server:client the connection is rejected. -
REJECT_AUTH_TOKEN
server:client the connection is rejected due to bad auth token. -
REJECT_PERMISSIONS
server:client the connection is rejected, user does not have write permission. -
SERVER_TERMINATE
server:client the connection is going to be closed immediately. -
FLUSH_ACK
server:client all records received prior to the CLIENT_REQUEST_FLUSH message have been processed. -
CLIENT_FINISHED_ACK
server:client ack for CLIENT_FINISHED. -
CLIENT_DELETE_PARTITION_ACK
server:client the delete partition request has been processed. -
BATCH_DATA
client:server batched row data. to support deferred rows fromTableWriter
-
-
Field Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
equals
public boolean equals(byte val)
-