Enum Class 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
These commands are passed from the BinaryLogSocketReader to the BinaryLogQueueSink
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioninternal: Signal the queue thread that the partition has been removed so it can take appropriate action.internal: a binary entry (Row or Record) follows.internal: flush the file.internal: put "no data" on the queue, allows an action to be executed.internal: terminate the sink thread. -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandHelper.QueueCommandId
Returns the enum constant of this class with the specified name.static CommandHelper.QueueCommandId[]
values()
Returns an array containing the constants of this enum class, 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 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
-