public class AsyncExecutorService extends ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
AsyncExecutorService(int threadCount) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecute(Runnable runnable,
Throwable throwable) |
protected void |
beforeExecute(Thread thread,
Runnable runnable) |
protected void |
finalize() |
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, execute, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitprotected void beforeExecute(Thread thread, Runnable runnable)
beforeExecute in class ThreadPoolExecutorprotected void afterExecute(Runnable runnable, Throwable throwable)
afterExecute in class ThreadPoolExecutorprotected void finalize()
finalize in class ThreadPoolExecutorCopyright © 2015. All rights reserved.