Package com.linkedin.venice.pushmonitor
Class PushStatusCleanUpStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.pushmonitor.PushStatusCleanUpStats
-
public class PushStatusCleanUpStats extends AbstractVeniceStats
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description PushStatusCleanUpStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, java.lang.String clusterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordFailedLeakedPushStatusCleanUpCount(int count)
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 runningvoid
recordLeakedPushStatusCount(int count)
void
recordSuccessfulLeakedPushStatusCleanUpCount(int count)
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
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
-
-