public static class SqlSimpleFactory.SqlThreadPoolExecutor extends ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Modifier and Type | Field and Description |
|---|---|
protected SqlSimpleFactory |
factory |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SqlSimpleFactory.SqlThreadPoolExecutor(int corePoolSize,
SqlSimpleFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown() |
protected void |
terminated() |
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdownNow, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitprotected final org.slf4j.Logger logger
protected SqlSimpleFactory factory
public SqlSimpleFactory.SqlThreadPoolExecutor(int corePoolSize,
SqlSimpleFactory factory)
public void shutdown()
shutdown in interface ExecutorServiceshutdown in class ThreadPoolExecutorprotected void terminated()
terminated in class ThreadPoolExecutorCopyright © 2015. All rights reserved.