Class BinaryLogQueueSink
java.lang.Object
com.illumon.iris.db.v2.logaggregator.BinaryLogQueueSink
- All Implemented Interfaces:
Runnable
Drain a binary log queue (to files).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
put
(CommandHelper.LogAggregatorMessage message) void
run()
start()
Helper method to start and grant access to the execution thread for this sink.take()
-
Method Details
-
put
- Throws:
InterruptedException
-
take
- Throws:
InterruptedException
-
run
public void run() -
start
Helper method to start and grant access to the execution thread for this sink. Starting the thread needs to be separated from the construction of the object. It is invalid to start a thread twice. -
threadState
- Returns:
- the state of the execution thread.
-