Enum CommandHelper.QueueCommandId
java.lang.Object
java.lang.Enum<CommandHelper.QueueCommandId>
com.illumon.iris.db.v2.logaggregator.CommandHelper.QueueCommandId
- All Implemented Interfaces:
Serializable
,Comparable<CommandHelper.QueueCommandId>
,java.lang.constant.Constable
- Enclosing class:
- CommandHelper
public static enum CommandHelper.QueueCommandId extends Enum<CommandHelper.QueueCommandId>
These commands are passed from the BinaryLogSocketReader to the BinaryLogQueueSink
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Q_CLIENT_DELETE_PARTITION
internal: Signal the queue thread that the partition has been removed so it can take appropriate action.Q_ENTRY
internal: a binary entry (Row or Record) follows.Q_FLUSH
internal: flush the file.Q_NO_DATA
internal: put "no data" on the queue, allows an action to be executed.Q_SINK_SHUTDOWN
internal: terminate the sink thread. -
Method Summary
Modifier and Type Method Description static CommandHelper.QueueCommandId
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommandHelper.QueueCommandId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Q_ENTRY
internal: a binary entry (Row or Record) follows. -
Q_SINK_SHUTDOWN
internal: terminate the sink thread. -
Q_NO_DATA
internal: put "no data" on the queue, allows an action to be executed. -
Q_CLIENT_DELETE_PARTITION
internal: Signal the queue thread that the partition has been removed so it can take appropriate action. -
Q_FLUSH
internal: flush the file.
-
-
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
-