Interface StatsSupplier<T extends AbstractVeniceStats>


public interface StatsSupplier<T extends AbstractVeniceStats>
  • Method Summary

    Modifier and Type
    Method
    Description
    get(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, String clusterName)
    Legacy 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 by AbstractVeniceAggStats, and concrete classes can optionally implement it in order to be provided with the total stats instance.
  • Method Details

    • get

      T get(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, String clusterName)
      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 by AbstractVeniceAggStats, and concrete classes can optionally implement it in order to be provided with the total stats instance.