public interface ICommitLogExecutorService
Modifier and Type | Method and Description |
---|---|
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.
|
long |
getCompletedTasks()
Get the number of completed tasks
|
long |
getPendingTasks()
Get the number of tasks waiting to be executed
|
void |
shutdown()
shuts down the CommitLogExecutor in an orderly fashion
|
<T> java.util.concurrent.Future<T> |
submit(java.util.concurrent.Callable<T> task) |
long getCompletedTasks()
long getPendingTasks()
<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
Copyright © 2013 The Apache Software Foundation