Interface EventExecutorStats

All Superinterfaces:
ExecutorStats
All Known Implementing Classes:
EventExecutorStatsImpl

@Internal @Immutable public interface EventExecutorStats extends ExecutorStats
API that exposes statistics of a ThreadPoolExecutor designed specifically for Atlassian/Bamboo events.
Since:
12.0
  • Method Details

    • getEventsQueueGroupedByType

      @NotNull @NotNull Map<String,Integer> 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.