public class ServicePool.Pool
extends java.lang.Object
Constructor and Description |
---|
Pool() |
Modifier and Type | Method and Description |
---|---|
void |
allowCoreThreadTimeOut(boolean value) |
int |
getActiveCount() |
long |
getCompletedTaskCount() |
int |
getCorePoolSize() |
long |
getKeepAliveTime() |
int |
getLargestPoolSize() |
int |
getMaximumPoolSize() |
int |
getPoolSize() |
int |
getQueueSize() |
long |
getTaskCount() |
boolean |
isShutdown() |
boolean |
isTerminated() |
boolean |
isTerminating() |
void |
setCorePoolSize(int corePoolSize) |
void |
setKeepAliveTime(long time) |
void |
setMaximumPoolSize(int maximumPoolSize) |
public boolean isShutdown()
public boolean isTerminating()
public boolean isTerminated()
public int getPoolSize()
public int getCorePoolSize()
public int getMaximumPoolSize()
public long getKeepAliveTime()
public int getQueueSize()
public int getActiveCount()
public int getLargestPoolSize()
public long getTaskCount()
public long getCompletedTaskCount()
public void setMaximumPoolSize(int maximumPoolSize)
public void setCorePoolSize(int corePoolSize)
public void allowCoreThreadTimeOut(boolean value)
public void setKeepAliveTime(long time)