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_HEADERserver:client: the connection is accepted.BATCH_DATAclient:server batched row data.CLIENT_DELETE_PARTITION_ACKserver:client the delete partition request has been processed.CLIENT_FINISHED_ACKserver:client ack for CLIENT_FINISHED.CLIENT_INITIATEclient:server open a connection.CLIENT_INITIATE2client:server open a connection.FLUSH_ACKserver:client all records received prior to the CLIENT_REQUEST_FLUSH message have been processed.LAS_COMMANDLAS_DATAREJECT_AUTH_TOKENserver:client the connection is rejected due to bad auth token.REJECT_HEADERserver:client the connection is rejected.REJECT_PERMISSIONSserver:client the connection is rejected, user does not have write permission.SERVER_TERMINATEserver:client the connection is going to be closed immediately. -
Field Summary
-
Method Summary
Modifier and Type Method Description booleanequals(byte val)static CommandHelper.LasCommandIdvalueOf(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)
-