@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public abstract class GlobalQuotaSettings extends QuotaSettings
QuotaProtos.Quotas
.Modifier | Constructor and Description |
---|---|
protected |
GlobalQuotaSettings(String userName,
TableName tableName,
String namespace) |
Modifier and Type | Method and Description |
---|---|
abstract List<QuotaSettings> |
getQuotaSettings()
Computes a list of QuotaSettings that present the complete quota state of the combination of
this user, table, and/or namespace.
|
QuotaType |
getQuotaType() |
protected void |
setupSetQuotaRequest(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest.Builder builder)
Called by toSetQuotaRequestProto()
the subclass should implement this method to set the specific SetQuotaRequest
properties.
|
buildFromProto, buildSetQuotaRequestProto, getNamespace, getTableName, getUserName, merge, ownerToString, sizeToString, timeToString, validateQuotaTarget
protected GlobalQuotaSettings(String userName, TableName tableName, String namespace)
public abstract List<QuotaSettings> getQuotaSettings()
public QuotaType getQuotaType()
getQuotaType
in class QuotaSettings
protected void setupSetQuotaRequest(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest.Builder builder)
QuotaSettings
setupSetQuotaRequest
in class QuotaSettings
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.