com.sun.ejb.containers
Class EjbThreadPoolExecutor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
com.sun.ejb.containers.EjbThreadPoolExecutor
- All Implemented Interfaces:
- Executor, ExecutorService
public class EjbThreadPoolExecutor
- extends ThreadPoolExecutor
| 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 |
EjbThreadPoolExecutor
public EjbThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
BlockingQueue<Runnable> workQueue,
String threadPoolName)
newTaskFor
protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable)
- Ensure that we give out our EjbFutureTask as opposed to JDK's FutureTask
- Overrides:
newTaskFor in class AbstractExecutorService
- Parameters:
callable -
- Returns:
- a RunnableFuture
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 GlassFish Community. All Rights Reserved.