public class ExecutorStatisticsView
extends java.lang.Object
ExecutorStatistics
.Constructor and Description |
---|
ExecutorStatisticsView(ExecutorStatistics statistics)
Create a view on
ExecutorStatistics . |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAbortedTaskCount()
Get the number of aborted tasks.
|
java.lang.Long |
getCompletedTaskCount()
Get the number of completed tasks.
|
java.lang.Integer |
getMaxPoolSize()
Get the executor's max pool size.
|
java.lang.Integer |
getPoolSize()
Get the executor's pool size.
|
java.lang.Integer |
getQueueSize()
Get the executor's queued task size.
|
public ExecutorStatisticsView(ExecutorStatistics statistics)
ExecutorStatistics
.public java.lang.Integer getPoolSize()
public java.lang.Integer getMaxPoolSize()
public java.lang.Integer getQueueSize()
public java.lang.Long getCompletedTaskCount()
public java.lang.Long getAbortedTaskCount()