Package org.infinispan.executors
Class ManageableExecutorService<T extends ExecutorService>
- java.lang.Object
-
- org.infinispan.executors.ManageableExecutorService<T>
-
- Direct Known Subclasses:
LazyInitializingBlockingTaskAwareExecutorService
,LazyInitializingExecutorService
,LazyInitializingScheduledExecutorService
,ManageableThreadPoolExecutorService
public abstract class ManageableExecutorService<T extends ExecutorService> extends Object
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Constructor Summary
Constructors Constructor Description ManageableExecutorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActiveCount()
long
getKeepAliveTime()
int
getLargestPoolSize()
int
getMaximumPoolSize()
int
getPoolSize()
int
getQueueSize()
void
setKeepAliveTime(long milliseconds)
void
setMaximumPoolSize(int maximumPoolSize)
-
-
-
Field Detail
-
executor
protected volatile T extends ExecutorService executor
-
-
Method Detail
-
getPoolSize
public int getPoolSize()
-
getActiveCount
public int getActiveCount()
-
getMaximumPoolSize
public int getMaximumPoolSize()
-
setMaximumPoolSize
public void setMaximumPoolSize(int maximumPoolSize)
-
getLargestPoolSize
public int getLargestPoolSize()
-
getQueueSize
public int getQueueSize()
-
getKeepAliveTime
public long getKeepAliveTime()
-
setKeepAliveTime
public void setKeepAliveTime(long milliseconds)
-
-