Package com.atlassian.bamboo.event.spi
Interface ExecutorStats
-
- All Known Implementing Classes:
ExecutorStatsImpl
@Internal @Immutable public interface ExecutorStats
Class that exposes statistics of aThreadPoolExecutor
- Since:
- v4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getActiveCount()
How many threads are currently executing@NotNull List<Runnable>
getEventsQueue()
LIst ofRunnable
that current waiting to be runint
getPoolSize()
THe maximmum number of threads@NotNull Map<String,Pair<Runnable,Date>>
getThreadToRunnableMappings()
A mapping of a ThreadName to a pair of Runnable and the date the runnable started running.
-