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, getActiveCountallowCoreThreadTimeOut, 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, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submitpublic 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 ExecutorServicesubmit in class AbstractExecutorServiceCopyright © GigaSpaces.