Class LRMIThreadPoolExecutor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
com.j_spaces.kernel.threadpool.DynamicThreadPoolExecutor
com.gigaspaces.lrmi.nio.async.LRMIThreadPoolExecutor
- All Implemented Interfaces:
AutoCloseable, Executor, ExecutorService
a version of dynamicThreadPool that can return an IFuture from a submit call.
- Since:
- 6.6
- Author:
- asy ronen
-
Nested Class Summary
Nested classes/interfaces inherited from class ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy -
Constructor Summary
ConstructorsConstructorDescriptionLRMIThreadPoolExecutor(int min, int max, long keepAliveTime, int capacity, long waitTime, int priority, String poolName, boolean preStart, boolean warnOnQueueUsage) -
Method Summary
Methods inherited from class DynamicThreadPoolExecutor
afterExecute, beforeExecute, getActiveCountMethods inherited from class ThreadPoolExecutor
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, toStringMethods inherited from class AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submitMethods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ExecutorService
close
-
Constructor Details
-
LRMIThreadPoolExecutor
public LRMIThreadPoolExecutor(int min, int max, long keepAliveTime, int capacity, long waitTime, int priority, String poolName, boolean preStart, boolean warnOnQueueUsage)
-
-
Method Details
-
submit
- Specified by:
submitin interfaceExecutorService- Overrides:
submitin classAbstractExecutorService
-