Package com.github.ambry.quota
-
Interface Summary Interface Description QuotaEnforcer Interface for class that would do the quota enforcement of a particular quota.QuotaEnforcerFactory Factory to instantiateQuotaEnforcer
class.QuotaManager Interface for the class that acts as the manager of all the quotas in Ambry.QuotaManagerFactory Factory to instantiateQuotaManager
.QuotaSource Interface representing the backend source from which quota for a resource can be fetched, and to which the current usage of a resource can be saved.QuotaSourceFactory Factory to instantiateQuotaSource
object.ThrottlePolicy Interface to apply application specific policy to make overall recommendation based onQuotaRecommendation
s. -
Class Summary Class Description Quota<T> The quota for a particular Ambry resource.QuotaRecommendation Class representing recommendation made by aQuotaEnforcer
implementation.QuotaResource Resource for which quota is specified for enforced.ThrottlingRecommendation Class that returns the overall throttling recommendation for all the quotas. -
Enum Summary Enum Description QuotaMode Quota service mode.QuotaName Enum representing various types of quota supported for user requests.