Interface StatsSupplier<T extends AbstractVeniceStats>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      T get​(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, java.lang.String clusterName)
      Legacy function, for implementations that do not use total stats in their constructor.
      default T get​(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName, java.lang.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 Detail

      • get

        T get​(io.tehuti.metrics.MetricsRepository metricsRepository,
              java.lang.String storeName,
              java.lang.String clusterName)
        Legacy function, for implementations that do not use total stats in their constructor.
        See Also:
        which is the only caller.
      • get

        default T get​(io.tehuti.metrics.MetricsRepository metricsRepository,
                      java.lang.String storeName,
                      java.lang.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.