Package com.atlassian.bamboo.event.spi
Class ExecutorStatsImpl
java.lang.Object
com.atlassian.bamboo.event.spi.ExecutorStatsImpl
- All Implemented Interfaces:
ExecutorStats
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
How many threads are currently executingLIst ofRunnable
that current waiting to be runint
THe maximmum number of threadsA mapping of a ThreadName to a pair of Runnable and the date the runnable started running.
-
Constructor Details
-
ExecutorStatsImpl
-
-
Method Details
-
getActiveCount
public int getActiveCount()Description copied from interface:ExecutorStats
How many threads are currently executing- Specified by:
getActiveCount
in interfaceExecutorStats
- Returns:
-
getPoolSize
public int getPoolSize()Description copied from interface:ExecutorStats
THe maximmum number of threads- Specified by:
getPoolSize
in interfaceExecutorStats
- Returns:
-
getEventsQueue
Description copied from interface:ExecutorStats
LIst ofRunnable
that current waiting to be run- Specified by:
getEventsQueue
in interfaceExecutorStats
- Returns:
-
getThreadToRunnableMappings
Description copied from interface:ExecutorStats
A mapping of a ThreadName to a pair of Runnable and the date the runnable started running.- Specified by:
getThreadToRunnableMappings
in interfaceExecutorStats
- Returns:
-