Class CommandHelper
java.lang.Object
com.illumon.iris.db.v2.logaggregator.CommandHelper
public class CommandHelper extends Object
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 Classes Modifier and Type Class Description static class
CommandHelper.CommandMessage
A LasCommandId and optional associated data.static class
CommandHelper.LasCommandId
These commands are passed between BinaryStoreAggregatorWriter implementations and the LogAggregator service.static class
CommandHelper.LasInnerCommandId
These commands are embedded inCommandHelper.LasCommandId.LAS_COMMAND
command structures.static class
CommandHelper.LogAggregatorMessage
Combine together a QueueCommandId, a message from the buffer pool, and a possible action to call.static class
CommandHelper.QueueCommandId
These commands are passed from the BinaryLogSocketReader to the BinaryLogQueueSink -
Constructor Summary
Constructors Constructor Description CommandHelper()
-
Method Summary
-
Constructor Details
-
CommandHelper
public CommandHelper()
-