Package com.linkedin.venice.stats
Interface StatsSupplier<T extends AbstractVeniceStats>
public interface StatsSupplier<T extends AbstractVeniceStats>
-
Method Summary
Modifier and TypeMethodDescriptionLegacy function, for implementations that do not use total stats in their constructor.default T
get
(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, String clusterName, T totalStats) This is the function that gets called byAbstractVeniceAggStats
, and concrete classes can optionally implement it in order to be provided with the total stats instance.
-
Method Details
-
get
Legacy function, for implementations that do not use total stats in their constructor.- See Also:
-
get
default T get(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, String clusterName, T totalStats) This is the function that gets called byAbstractVeniceAggStats
, and concrete classes can optionally implement it in order to be provided with the total stats instance.
-