Package com.atlassian.bamboo.event.spi
Interface EventExecutorStats
- All Superinterfaces:
ExecutorStats
- All Known Implementing Classes:
EventExecutorStatsImpl
API that exposes statistics of a
ThreadPoolExecutor designed specifically for Atlassian/Bamboo events.- Since:
- 12.0
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a mapping of event types to the count of events currently waiting in the queue.Methods inherited from interface com.atlassian.bamboo.event.spi.ExecutorStats
getActiveCount, getEventsQueue, getPoolSize, getThreadToRunnableMappings
-
Method Details
-
getEventsQueueGroupedByType
Retrieves a mapping of event types to the count of events currently waiting in the queue.This method groups the events in the queue by their type and provides the count of each type. It is useful for understanding the distribution of event types in the queue at a given time.
- Returns:
- a map where the key is the event type (event class name) and the value is the count of events of that type.
-