Class AbstractVeniceAggStats<T extends AbstractVeniceStats>

    • Constructor Detail

      • AbstractVeniceAggStats

        public AbstractVeniceAggStats​(java.lang.String clusterName,
                                      io.tehuti.metrics.MetricsRepository metricsRepository)
      • AbstractVeniceAggStats

        public AbstractVeniceAggStats​(java.lang.String clusterName,
                                      io.tehuti.metrics.MetricsRepository metricsRepository,
                                      StatsSupplier<T> statsSupplier,
                                      boolean perClusterAggregate)
        clusterName is used to create per cluster aggregate stats and VeniceMetricsDimensions
        If perClusterAggregate is true, it will create per cluster aggregates with storeName as "total."
    • Method Detail

      • setStatsSupplier

        public void setStatsSupplier​(StatsSupplier<T> statsSupplier)
      • getStoreStats

        public T getStoreStats​(java.lang.String storeName)
      • getNullableStoreStats

        public T getNullableStoreStats​(java.lang.String storeName)
      • getTotalStats

        public T getTotalStats()