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, toString
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
protected final org.slf4j.Logger logger
protected SqlSimpleFactory factory
public SqlSimpleFactory.SqlThreadPoolExecutor(int corePoolSize, SqlSimpleFactory factory)
public void shutdown()
shutdown
in interface ExecutorService
shutdown
in class ThreadPoolExecutor
protected void terminated()
terminated
in class ThreadPoolExecutor
Copyright © 2015. All rights reserved.