@ManagedResource
public class ThreadPoolStatus
extends java.lang.Object
构造器和说明 |
---|
ThreadPoolStatus() |
限定符和类型 | 方法和说明 |
---|---|
int |
getActiveCount() |
long |
getCompletedTaskCount() |
int |
getCorePoolSize() |
int |
getLargestPoolSize() |
int |
getMaximumPoolSize() |
int |
getPoolSize() |
long |
getTaskCount() |
void |
setActiveCount(int activeCount) |
void |
setCompletedTaskCount(long completedTaskCount) |
void |
setCorePoolSize(int corePoolSize) |
void |
setLargestPoolSize(int largestPoolSize) |
void |
setMaximumPoolSize(int maximumPoolSize) |
void |
setPoolSize(int poolSize) |
void |
setTaskCount(long taskCount) |
@ManagedOperation public int getPoolSize()
@ManagedOperation public void setPoolSize(int poolSize)
@ManagedOperation public int getActiveCount()
@ManagedOperation public void setActiveCount(int activeCount)
@ManagedOperation public int getCorePoolSize()
@ManagedOperation public void setCorePoolSize(int corePoolSize)
@ManagedOperation public int getMaximumPoolSize()
@ManagedOperation public void setMaximumPoolSize(int maximumPoolSize)
@ManagedOperation public int getLargestPoolSize()
@ManagedOperation public void setLargestPoolSize(int largestPoolSize)
@ManagedOperation public long getTaskCount()
@ManagedOperation public void setTaskCount(long taskCount)
@ManagedOperation public long getCompletedTaskCount()
@ManagedOperation public void setCompletedTaskCount(long completedTaskCount)