Class HeartbeatStat
- java.lang.Object
-
- com.linkedin.davinci.stats.ingestion.heartbeat.HeartbeatStat
-
public class HeartbeatStat extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HeartbeatStat(io.tehuti.metrics.MetricConfig metricConfig, java.util.Set<java.lang.String> regions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WritePathLatencySensor
getCatchingUpFollowerLag(java.lang.String region)
WritePathLatencySensor
getReadyToServeFollowerLag(java.lang.String region)
WritePathLatencySensor
getReadyToServeLeaderLag(java.lang.String region)
void
recordCatchingUpFollowerLag(java.lang.String region, long startTime)
void
recordReadyToServeFollowerLag(java.lang.String region, long startTime)
void
recordReadyToServeLeaderLag(java.lang.String region, long startTime)
-
-
-
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)
-
-