@InterfaceAudience.Private @InterfaceStability.Evolving public class UserQuotaState extends QuotaState
globalLimiter, lastQuery, lastUpdate| 构造器和说明 |
|---|
UserQuotaState() |
UserQuotaState(long updateTs) |
| 限定符和类型 | 方法和说明 |
|---|---|
QuotaLimiter |
getTableLimiter(TableName table)
Return the limiter for the specified table associated with this quota.
|
boolean |
hasBypassGlobals() |
boolean |
isBypass() |
void |
setQuotas(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)
Setup the global quota information.
|
void |
setQuotas(String namespace,
org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)
Add the quota information of the specified namespace.
|
void |
setQuotas(TableName table,
org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)
Add the quota information of the specified table.
|
String |
toString() |
void |
update(QuotaState other)
Perform an update of the quota state based on the other quota state object.
|
getGlobalLimiter, getLastQuery, getLastUpdatepublic String toString()
toString 在类中 QuotaStatepublic boolean isBypass()
isBypass 在类中 QuotaStatepublic boolean hasBypassGlobals()
public void setQuotas(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)
QuotaStatesetQuotas 在类中 QuotaStatepublic void setQuotas(TableName table, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)
public void setQuotas(String namespace, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)
public void update(QuotaState other)
update 在类中 QuotaStatepublic QuotaLimiter getTableLimiter(TableName table)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.