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.Executor
Override this to define which runnables will be batched.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
batchable(java.lang.Runnable runnable)
Override this to define which runnables will be batched.void
execute(java.lang.Runnable runnable)
boolean
resubmitOnBlock()
void
unbatchedExecute(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:
execute
in interfacejava.util.concurrent.Executor
-
resubmitOnBlock
boolean resubmitOnBlock()
-
unbatchedExecute
void unbatchedExecute(java.lang.Runnable r)
-
-