Package com.linkedin.venice.stats
Class AggServerQuotaUsageStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceAggStats<ServerReadQuotaUsageStats>
-
- com.linkedin.venice.stats.AggServerQuotaUsageStats
-
public class AggServerQuotaUsageStats extends AbstractVeniceAggStats<ServerReadQuotaUsageStats>
AggServerQuotaUsageStats
is the aggregate statistics forServerQuotaUsageStats
which measures requests and quota rejections of each store.
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceAggStats
STORE_NAME_FOR_TOTAL_STAT, storeStats, totalStats
-
-
Constructor Summary
Constructors Constructor Description AggServerQuotaUsageStats(io.tehuti.metrics.MetricsRepository metricsRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordAllowed(java.lang.String storeName, int version, long rcu)
void
recordAllowedUnintentionally(java.lang.String storeName, long rcu)
void
recordRejected(java.lang.String storeName, int version, long rcu)
void
setBackupVersion(java.lang.String storeName, int version)
void
setCurrentVersion(java.lang.String storeName, int version)
void
setNodeQuotaResponsibility(java.lang.String storeName, int version, long nodeKpsResponsibility)
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceAggStats
getNullableStoreStats, getStoreStats, getTotalStats, setStatsSupplier
-
-
-
-
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)
-
-