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 classA LasCommandId and optional associated data.static enumThese commands are passed between BinaryStoreAggregatorWriter implementations and the LogAggregator service.static enumThese commands are embedded inCommandHelper.LasCommandId.LAS_COMMANDcommand structures.static classCombine together a QueueCommandId, a message from the buffer pool, and a possible action to call.static enumThese commands are passed from the BinaryLogSocketReader to the BinaryLogQueueSink -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandHelper
public CommandHelper()
-