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