Package org.jboss.as.ee.concurrent
Interface ManagedExecutorRuntimeStats
-
public interface ManagedExecutorRuntimeStatsRuntime stats from an executor.- Author:
- emmartins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveThreadsCount()longgetCompletedTaskCount()intgetHungThreadsCount()intgetMaxThreadsCount()intgetQueueSize()longgetTaskCount()intgetThreadsCount()
-
-
-
Method Detail
-
getActiveThreadsCount
int getActiveThreadsCount()
- Returns:
- the approximate number of threads that are actively executing tasks
-
getCompletedTaskCount
long getCompletedTaskCount()
- Returns:
- the approximate total number of tasks that have completed execution
-
getHungThreadsCount
int getHungThreadsCount()
- Returns:
- the number of executor threads that are hung
-
getMaxThreadsCount
int getMaxThreadsCount()
- Returns:
- the largest number of executor threads
-
getQueueSize
int getQueueSize()
- Returns:
- the current size of the executor's task queue
-
getTaskCount
long getTaskCount()
- Returns:
- the approximate total number of tasks that have ever been submitted for execution
-
getThreadsCount
int getThreadsCount()
- Returns:
- the current number of executor threads
-
-