Package com.linkedin.davinci.stats
Class VeniceVersionedStatsReporter<STATS,STATS_REPORTER extends AbstractVeniceStatsReporter<STATS>>
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.davinci.stats.VeniceVersionedStatsReporter<STATS,STATS_REPORTER>
-
public class VeniceVersionedStatsReporter<STATS,STATS_REPORTER extends AbstractVeniceStatsReporter<STATS>> extends AbstractVeniceStats
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description VeniceVersionedStatsReporter(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, StatsSupplier<STATS_REPORTER> statsSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentVersion()
int
getFutureVersion()
void
registerConditionalStats()
void
setCurrentStats(int version, STATS stats)
void
setFutureStats(int version, STATS stats)
void
setTotalStats(STATS totalStats)
void
unregisterStats()
-
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
-
-
-
-
Constructor Detail
-
VeniceVersionedStatsReporter
public VeniceVersionedStatsReporter(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, StatsSupplier<STATS_REPORTER> statsSupplier)
-
-
Method Detail
-
registerConditionalStats
public void registerConditionalStats()
-
unregisterStats
public void unregisterStats()
-
getCurrentVersion
public int getCurrentVersion()
-
getFutureVersion
public int getFutureVersion()
-
setCurrentStats
public void setCurrentStats(int version, STATS stats)
-
setFutureStats
public void setFutureStats(int version, STATS stats)
-
setTotalStats
public void setTotalStats(STATS totalStats)
-
-