GNU Classpath (0.97.2) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
public static class ThreadPoolExecutor.CallerRunsPolicy
extends Object
implements RejectedExecutionHandler
Constructor Summary | |
|
Method Summary | |
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
Executes task r in the caller's thread, unless the executor has been shut down, in which case the task is discarded.
- Specified by:
- rejectedExecution in interface RejectedExecutionHandler
- Parameters:
r
- the runnable task requested to be executede
- the executor attempting to execute this task
GNU Classpath (0.97.2) |