public class LRMIThreadPoolExecutor extends DynamicThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
Constructor and Description |
---|
LRMIThreadPoolExecutor(int min,
int max,
long keepAliveTime,
int capacity,
long waitTime,
int priority,
String poolName,
boolean preStart,
boolean warnOnQueueUsage) |
Modifier and Type | Method and Description |
---|---|
<T> IFuture<T> |
submit(Callable<T> task) |
afterExecute, beforeExecute, getActiveCount
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, execute, finalize, 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, toString
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit
public LRMIThreadPoolExecutor(int min, int max, long keepAliveTime, int capacity, long waitTime, int priority, String poolName, boolean preStart, boolean warnOnQueueUsage)
public <T> IFuture<T> submit(Callable<T> task)
submit
in interface ExecutorService
submit
in class AbstractExecutorService
Copyright © GigaSpaces.