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