public class TransferThreadPool extends ServerThreadPool
This thread pool is not limited in size, but the maximum number of transfers is checked within the ParallelTransfersList of the server.
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
TransferThreadPool(ServerContext serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeExecute(java.lang.Thread t,
java.lang.Runnable r) |
protected java.util.concurrent.ThreadFactory |
createThreadFactory() |
getServerContext, getServerStatistic, sendErrorMailafterExecute, toDumpString, toDumpString, toString, toStringallowCoreThreadTimeOut, 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, terminatedpublic TransferThreadPool(ServerContext serverCtx)
protected java.util.concurrent.ThreadFactory createThreadFactory()
createThreadFactory in class AbstractThreadPoolprotected void beforeExecute(java.lang.Thread t,
java.lang.Runnable r)
beforeExecute in class java.util.concurrent.ThreadPoolExecutorCopyright © 2014 EsprIT-Systems. All Rights Reserved.