public static class SqlDefaultFactory.SqlThreadPoolExecutor extends ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Modifier and Type | Field and Description |
|---|---|
protected SqlDefaultFactory |
factory |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SqlThreadPoolExecutor(int corePoolSize,
SqlDefaultFactory 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 SqlDefaultFactory factory
public SqlThreadPoolExecutor(int corePoolSize,
SqlDefaultFactory factory)
public void shutdown()
shutdown in interface ExecutorServiceshutdown in class ThreadPoolExecutorprotected void terminated()
terminated in class ThreadPoolExecutorCopyright © 2018. All rights reserved.