RejectedExecutionHandler | A handler for tasks that cannot be executed by a ThreadPoolExecutor . | code | html |
FutureTask | A cancellable asynchronous computation. | code | html |
FutureTask.Sync | Synchronization control for FutureTask. | code | html |
ThreadPoolExecutor | An ExecutorService that executes each submitted task using one of possibly several pooled threads, normally configured using Executors factory methods. | code | html |
ThreadPoolExecutor.AbortPolicy | A handler for rejected tasks that throws a RejectedExecutionException. | code | html |
ThreadPoolExecutor.CallerRunsPolicy | A handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded. | code | html |
ThreadPoolExecutor.DiscardOldestPolicy | A handler for rejected tasks that discards the oldest unhandled request and then retries execute, unless the executor is shut down, in which case the task is discarded. | code | html |
ThreadPoolExecutor.DiscardPolicy | A handler for rejected tasks that silently discards the rejected task. | code | html |
ThreadPoolExecutor.Worker | Worker threads | code | html |