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 Detail

      • ParticipantStateTransitionStats

        public ParticipantStateTransitionStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                               java.util.concurrent.ThreadPoolExecutor threadPoolExecutor,
                                               java.lang.String name)
    • Method Detail

      • incrementThreadBlockedOnOfflineToDroppedTransitionCount

        public void incrementThreadBlockedOnOfflineToDroppedTransitionCount()
      • decrementThreadBlockedOnOfflineToDroppedTransitionCount

        public void decrementThreadBlockedOnOfflineToDroppedTransitionCount()