public class ServicePool.Pool extends Object
| Constructor and Description |
|---|
ServicePool.Pool() |
| Modifier and Type | Method and Description |
|---|---|
void |
allowCoreThreadTimeOut(boolean value) |
int |
getActiveCount() |
long |
getCompletedTaskCount() |
int |
getCorePoolSize() |
long |
getKeepAliveTime(TimeUnit unit) |
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(TimeUnit unit)
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)
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.