net.sf.mmm.util.concurrent.base
Class CachedThreadPoolExecutor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
net.sf.mmm.util.concurrent.base.CachedThreadPoolExecutor
- All Implemented Interfaces:
- Executor, ExecutorService
public class CachedThreadPoolExecutor
- extends ThreadPoolExecutor
This is an advanced Executor that uses a
Thread-pool. It is about the same as
Executors.newCachedThreadPool() and inherits all
its implementation from ThreadPoolExecutor. The only reason was to
make it easier to be managed as component in an IoC-Container such as spring.
- Since:
- 1.0.2
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
| Methods inherited from class java.util.concurrent.ThreadPoolExecutor |
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, shutdown, shutdownNow, terminated |
CachedThreadPoolExecutor
public CachedThreadPoolExecutor()
- The constructor.
CachedThreadPoolExecutor
public CachedThreadPoolExecutor(ThreadFactory threadFactory)
- The constructor.
- Parameters:
threadFactory - is the ThreadFactory used to create new
Threads.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.