@ParametersAreNonnullByDefault public final class LifoThreadPoolExecutorSQP extends AbstractExecutorService implements MutableLifoThreadPool
| Constructor and Description | 
|---|
| LifoThreadPoolExecutorSQP(int maxNrThreads,
                         String name) | 
| LifoThreadPoolExecutorSQP(String poolName,
                         int coreSize,
                         int maxSize,
                         int maxIdleTimeMillis,
                         int queueSizeLimit) | 
| LifoThreadPoolExecutorSQP(String poolName,
                         int coreSize,
                         int maxSize,
                         int maxIdleTimeMillis,
                         int queueSize,
                         boolean daemonThreads) | 
| LifoThreadPoolExecutorSQP(String poolName,
                         int coreSize,
                         int maxSize,
                         int maxIdleTimeMillis,
                         int queueSizeLimit,
                         boolean daemonThreads,
                         RejectedExecutionHandler rejectionHandler) | 
| LifoThreadPoolExecutorSQP(String poolName,
                         int coreSize,
                         int maxSize,
                         int maxIdleTimeMillis,
                         int queueSizeLimit,
                         boolean daemonThreads,
                         RejectedExecutionHandler rejectionHandler,
                         int threadPriority) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | awaitTermination(long time,
                TimeUnit unit) | 
| void | execute(Runnable command) | 
| void | exportJmx() | 
| int | getCoreThreadCount() | 
| int | getMaxIdleTimeMillis() | 
| int | getMaxThreadCount() | 
| int | getNrQueuedTasks() | 
| String | getPoolName() | 
| int | getQueueSizeLimit() | 
| ReentrantLock | getStateLock() | 
| Queue<Runnable> | getTaskQueue() | 
| int | getThreadCount() | 
| int | getThreadPriority() | 
| boolean | isDaemonThreads() | 
| boolean | isShutdown() | 
| boolean | isTerminated() | 
| void | setCoreThreadCount(int coreThreadCount) | 
| void | setDaemonThreads(boolean daemonThreads) | 
| void | setMaxIdleTimeMillis(int maxIdleTimeMillis) | 
| void | setMaxThreadCount(int maxThreadCount) | 
| void | setQueueSizeLimit(int queueSizeLimit) | 
| void | setThreadPriority(int threadPriority) | 
| void | shutdown() | 
| List<Runnable> | shutdownNow() | 
| String | toString() | 
| void | unregisterJmx() | 
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitpublic LifoThreadPoolExecutorSQP(int maxNrThreads,
                                 String name)
public LifoThreadPoolExecutorSQP(String poolName, int coreSize, int maxSize, int maxIdleTimeMillis, int queueSize, boolean daemonThreads)
public LifoThreadPoolExecutorSQP(String poolName, int coreSize, int maxSize, int maxIdleTimeMillis, int queueSizeLimit)
public LifoThreadPoolExecutorSQP(String poolName, int coreSize, int maxSize, int maxIdleTimeMillis, int queueSizeLimit, boolean daemonThreads, RejectedExecutionHandler rejectionHandler)
public LifoThreadPoolExecutorSQP(String poolName, int coreSize, int maxSize, int maxIdleTimeMillis, int queueSizeLimit, boolean daemonThreads, RejectedExecutionHandler rejectionHandler, int threadPriority)
public void exportJmx()
exportJmx in interface LifoThreadPoolpublic void shutdown()
shutdown in interface ExecutorServicepublic boolean awaitTermination(long time,
                                TimeUnit unit)
                         throws InterruptedException
awaitTermination in interface ExecutorServiceInterruptedExceptionpublic List<Runnable> shutdownNow()
shutdownNow in interface ExecutorServicepublic boolean isShutdown()
isShutdown in interface ExecutorServicepublic boolean isDaemonThreads()
isDaemonThreads in interface LifoThreadPoolpublic boolean isTerminated()
isTerminated in interface ExecutorServicepublic int getThreadCount()
getThreadCount in interface LifoThreadPoolpublic int getMaxThreadCount()
getMaxThreadCount in interface LifoThreadPoolpublic int getCoreThreadCount()
getCoreThreadCount in interface LifoThreadPoolpublic ReentrantLock getStateLock()
getStateLock in interface LifoThreadPoolpublic int getNrQueuedTasks()
getNrQueuedTasks in interface LifoThreadPoolpublic int getQueueSizeLimit()
getQueueSizeLimit in interface LifoThreadPoolpublic void unregisterJmx()
unregisterJmx in interface LifoThreadPoolpublic void setDaemonThreads(boolean daemonThreads)
setDaemonThreads in interface MutableLifoThreadPoolpublic void setMaxIdleTimeMillis(int maxIdleTimeMillis)
setMaxIdleTimeMillis in interface MutableLifoThreadPoolpublic void setMaxThreadCount(int maxThreadCount)
setMaxThreadCount in interface MutableLifoThreadPoolpublic void setCoreThreadCount(int coreThreadCount)
setCoreThreadCount in interface MutableLifoThreadPoolpublic void setQueueSizeLimit(int queueSizeLimit)
setQueueSizeLimit in interface MutableLifoThreadPoolpublic void setThreadPriority(int threadPriority)
setThreadPriority in interface MutableLifoThreadPoolpublic Queue<Runnable> getTaskQueue()
getTaskQueue in interface LifoThreadPoolpublic int getMaxIdleTimeMillis()
getMaxIdleTimeMillis in interface LifoThreadPoolpublic String getPoolName()
getPoolName in interface LifoThreadPoolpublic int getThreadPriority()
getThreadPriority in interface LifoThreadPoolCopyright © 2018 SPF4J. All rights reserved.