public class AgentWorkerThreadPool extends ServerThreadPool
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
Constructor and Description |
---|
AgentWorkerThreadPool(ServerContext serverCtx) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterExecute(java.lang.Runnable r,
java.lang.Throwable t) |
protected void |
beforeExecute(java.lang.Thread t,
java.lang.Runnable r) |
protected java.util.concurrent.ThreadFactory |
createThreadFactory() |
getServerContext, getServerStatistic, sendErrorMail
toDumpString, toDumpString, toString, toString
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, 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, shutdown, shutdownNow, terminated
public AgentWorkerThreadPool(ServerContext serverCtx)
protected void afterExecute(java.lang.Runnable r, java.lang.Throwable t)
afterExecute
in class AbstractThreadPool
protected void beforeExecute(java.lang.Thread t, java.lang.Runnable r)
beforeExecute
in class java.util.concurrent.ThreadPoolExecutor
protected java.util.concurrent.ThreadFactory createThreadFactory()
createThreadFactory
in class AbstractThreadPool
Copyright © 2014 EsprIT-Systems. All Rights Reserved.