Class PushStatusCleanUpStats

    • Constructor Detail

      • PushStatusCleanUpStats

        public PushStatusCleanUpStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                      java.lang.String storeName,
                                      java.lang.String clusterName)
    • Method Detail

      • recordLeakedPushStatusCount

        public void recordLeakedPushStatusCount​(int count)
      • recordSuccessfulLeakedPushStatusCleanUpCount

        public void recordSuccessfulLeakedPushStatusCleanUpCount​(int count)
      • recordFailedLeakedPushStatusCleanUpCount

        public void recordFailedLeakedPushStatusCleanUpCount​(int count)
      • recordLeakedPushStatusCleanUpServiceState

        public void recordLeakedPushStatusCleanUpServiceState​(PushStatusCleanUpServiceState state)
        3 possible metric values: 1: the leaked push status clean-up service is up and running 0: the leaked push status clean-up service is stopped gracefully or stopped by InterruptException -1: the leaked push status clean-up service crashes while the Venice service is still running