@InterfaceAudience.Private @InterfaceStability.Evolving public class QuotaState extends Object
Constructor and Description |
---|
QuotaState() |
QuotaState(long updateTs) |
Modifier and Type | Method and Description |
---|---|
QuotaLimiter |
getGlobalLimiter()
Return the limiter associated with this quota.
|
long |
getLastQuery() |
long |
getLastUpdate() |
boolean |
isBypass() |
void |
setLastQuery(long lastQuery) |
void |
setQuotas(org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas quotas)
Setup the global quota information.
|
String |
toString() |
void |
update(QuotaState other)
Perform an update of the quota info based on the other quota info object.
|
public long getLastUpdate()
public long getLastQuery()
public boolean isBypass()
public void setQuotas(org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas quotas)
public void update(QuotaState other)
public QuotaLimiter getGlobalLimiter()
public void setLastQuery(long lastQuery)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.