Package akka.dispatch
Interface BatchingExecutor
-
- All Superinterfaces:
java.util.concurrent.Executor
- All Known Implementing Classes:
BalancingDispatcher,CallingThreadDispatcher,Dispatcher,ExecutionContexts.sameThreadExecutionContext$,MessageDispatcher,PinnedDispatcher
public interface BatchingExecutor extends java.util.concurrent.ExecutorOverride this to define which runnables will be batched.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbatchable(java.lang.Runnable runnable)Override this to define which runnables will be batched.voidexecute(java.lang.Runnable runnable)booleanresubmitOnBlock()voidunbatchedExecute(java.lang.Runnable r)
-
-
-
Method Detail
-
batchable
boolean batchable(java.lang.Runnable runnable)
Override this to define which runnables will be batched.
-
execute
void execute(java.lang.Runnable runnable)
- Specified by:
executein interfacejava.util.concurrent.Executor
-
resubmitOnBlock
boolean resubmitOnBlock()
-
unbatchedExecute
void unbatchedExecute(java.lang.Runnable r)
-
-