Enum Class 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
These commands are passed between BinaryStoreAggregatorWriter implementations and the
LogAggregator service.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionserver:client: the connection is accepted.client:server batched row data.server:client the delete partition request has been processed.server:client ack for CLIENT_FINISHED.client:server open a connection.client:server open a connection.server:client all records received prior to the CLIENT_REQUEST_FLUSH message have been processed.server:client the connection is rejected due to bad auth token.server:client the connection is rejected.server:client the connection is rejected, user does not have write permission.server:client the connection is going to be closed immediately. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(byte val) static CommandHelper.LasCommandId
Returns the enum constant of this class with the specified name.static CommandHelper.LasCommandId[]
values()
Returns an array containing the constants of this enum class, 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
-
name
-
wireValue
public final byte wireValue
-
-
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
-
equals
public boolean equals(byte val)
-