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