Class CommandHelper
java.lang.Object
com.illumon.iris.db.v2.logaggregator.CommandHelper
Define constants and methods for use in sending and receiving log aggregator messages.
Format of a command message is
- MAGIC_NUMBER (int)
- VERSION_NUMBER
- remaining message length in bytes (1 for just a command)
- message (usually just a command byte)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A LasCommandId and optional associated data.static enum
These commands are passed between BinaryStoreAggregatorWriter implementations and the LogAggregator service.static enum
These commands are embedded inCommandHelper.LasCommandId.LAS_COMMAND
command structures.static class
Combine together a QueueCommandId, a message from the buffer pool, and a possible action to call.static enum
These commands are passed from the BinaryLogSocketReader to the BinaryLogQueueSink -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandHelper
public CommandHelper()
-