Class ParticipantStateTransitionStats


public class ParticipantStateTransitionStats extends ThreadPoolStats
This class is used to track the thread pool stats for the state transitions of the participant. Besides the thread pool stats, it also tracks the number of threads that are blocked on the state transition from OFFLINE to DROPPED.
  • Constructor Details

    • ParticipantStateTransitionStats

      public ParticipantStateTransitionStats(io.tehuti.metrics.MetricsRepository metricsRepository, ThreadPoolExecutor threadPoolExecutor, String name)
  • Method Details

    • incrementThreadBlockedOnOfflineToDroppedTransitionCount

      public void incrementThreadBlockedOnOfflineToDroppedTransitionCount()
    • decrementThreadBlockedOnOfflineToDroppedTransitionCount

      public void decrementThreadBlockedOnOfflineToDroppedTransitionCount()