public interface ExecutorAwareRunnable
extends java.lang.Runnable
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRunSynchronously()
This method can be used by the executor to have a hint whether the internal thread
pool can be bypassed for the execution of this runnable.
|
boolean shouldRunSynchronously()
true,
this task will be executed in the caller thread.true if the executor thread pool can be bypassed for this taskCopyright © 2005-2014 FuseSource. All Rights Reserved.