Class HeartbeatStat


  • public class HeartbeatStat
    extends java.lang.Object
    • Constructor Detail

      • HeartbeatStat

        public HeartbeatStat​(io.tehuti.metrics.MetricConfig metricConfig,
                             java.util.Set<java.lang.String> regions)
    • Method Detail

      • recordReadyToServeLeaderLag

        public void recordReadyToServeLeaderLag​(java.lang.String region,
                                                long startTime)
      • recordReadyToServeFollowerLag

        public void recordReadyToServeFollowerLag​(java.lang.String region,
                                                  long startTime)
      • recordCatchingUpFollowerLag

        public void recordCatchingUpFollowerLag​(java.lang.String region,
                                                long startTime)
      • getReadyToServeLeaderLag

        public WritePathLatencySensor getReadyToServeLeaderLag​(java.lang.String region)
      • getReadyToServeFollowerLag

        public WritePathLatencySensor getReadyToServeFollowerLag​(java.lang.String region)
      • getCatchingUpFollowerLag

        public WritePathLatencySensor getCatchingUpFollowerLag​(java.lang.String region)