Package com.gigaspaces.lrmi.nio.async
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:
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 java.util.concurrent.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 com.j_spaces.kernel.threadpool.DynamicThreadPoolExecutor
afterExecute, beforeExecute, getActiveCountMethods inherited from class java.util.concurrent.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 java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit
-
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
-