Class AggServerQuotaUsageStats


  • public class AggServerQuotaUsageStats
    extends AbstractVeniceAggStats<ServerReadQuotaUsageStats>
    AggServerQuotaUsageStats is the aggregate statistics for ServerQuotaUsageStats which measures requests and quota rejections of each store.
    • Constructor Detail

      • AggServerQuotaUsageStats

        public AggServerQuotaUsageStats​(io.tehuti.metrics.MetricsRepository metricsRepository)
    • Method Detail

      • recordAllowed

        public void recordAllowed​(java.lang.String storeName,
                                  int version,
                                  long rcu)
      • recordRejected

        public void recordRejected​(java.lang.String storeName,
                                   int version,
                                   long rcu)
      • recordAllowedUnintentionally

        public void recordAllowedUnintentionally​(java.lang.String storeName,
                                                 long rcu)
      • setNodeQuotaResponsibility

        public void setNodeQuotaResponsibility​(java.lang.String storeName,
                                               int version,
                                               long nodeKpsResponsibility)
      • setCurrentVersion

        public void setCurrentVersion​(java.lang.String storeName,
                                      int version)
      • setBackupVersion

        public void setBackupVersion​(java.lang.String storeName,
                                     int version)