|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommitLogExecutorService
Like ExecutorService, but customized for batch and periodic commitlog execution.
Method Summary | ||
---|---|---|
void |
add(org.apache.cassandra.db.commitlog.CommitLog.LogRecordAdder adder)
submits the adder for execution and blocks for it to be synced, if necessary |
|
void |
awaitTermination()
Blocks until shutdown is complete. |
|
void |
shutdown()
shuts down the CommitLogExecutor in an orderly fashion |
|
|
submit(java.util.concurrent.Callable<T> task)
|
Methods inherited from interface org.apache.cassandra.concurrent.IExecutorMBean |
---|
getActiveCount, getCompletedTasks, getPendingTasks |
Method Detail |
---|
<T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T> task)
void add(org.apache.cassandra.db.commitlog.CommitLog.LogRecordAdder adder)
void shutdown()
void awaitTermination() throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |