Package com.atlassian.bamboo.event.spi
Class ExecutorStatsImpl
java.lang.Object
com.atlassian.bamboo.event.spi.ExecutorStatsImpl
- All Implemented Interfaces:
ExecutorStats
- Direct Known Subclasses:
EventExecutorStatsImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintHow many threads are currently executingLIst ofRunnablethat current waiting to be runintTHe 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:ExecutorStatsHow many threads are currently executing- Specified by:
getActiveCountin interfaceExecutorStats- Returns:
-
getPoolSize
public int getPoolSize()Description copied from interface:ExecutorStatsTHe maximmum number of threads- Specified by:
getPoolSizein interfaceExecutorStats- Returns:
-
getEventsQueue
Description copied from interface:ExecutorStatsLIst ofRunnablethat current waiting to be run- Specified by:
getEventsQueuein interfaceExecutorStats- Returns:
-
getThreadToRunnableMappings
Description copied from interface:ExecutorStatsA mapping of a ThreadName to a pair of Runnable and the date the runnable started running.- Specified by:
getThreadToRunnableMappingsin interfaceExecutorStats- Returns:
-