Class AbstractVeniceAggStats<T extends AbstractVeniceStats>

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceAggStats<T>
Direct Known Subclasses:
AbstractVeniceAggStoreStats, AggHostHealthStats, AggPartitionHealthStats, AggRocksDBStats, AggServerQuotaUsageStats

public abstract class AbstractVeniceAggStats<T extends AbstractVeniceStats> extends Object
  • Field Details

  • Constructor Details

    • AbstractVeniceAggStats

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

      public AbstractVeniceAggStats(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 Details

    • setStatsSupplier

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

      public T getStoreStats(String storeName)
    • getNullableStoreStats

      public T getNullableStoreStats(String storeName)
    • getTotalStats

      public T getTotalStats()