Package com.github.ambry.quota
Interface QuotaSource
-
public interface 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Quota
getQuota(QuotaResource quotaResource, QuotaName quotaName)
Get theQuota
for specified resource and operation.
-
-
-
Method Detail
-
getQuota
Quota getQuota(QuotaResource quotaResource, QuotaName quotaName)
Get theQuota
for specified resource and operation.- Parameters:
quotaResource
-QuotaResource
object.quotaName
-QuotaName
object.
-
-