static class QuotaSettingsFactory.QuotaGlobalsSettingsBypass extends QuotaSettings
| Modifier and Type | Field and Description |
|---|---|
private boolean |
bypassGlobals |
| Constructor and Description |
|---|
QuotaGlobalsSettingsBypass(String userName,
TableName tableName,
String namespace,
String regionServer,
boolean bypassGlobals) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getBypass() |
QuotaType |
getQuotaType() |
protected QuotaSettingsFactory.QuotaGlobalsSettingsBypass |
merge(QuotaSettings newSettings)
Merges the provided settings with
this and returns a new settings
object to the caller if the merged settings differ from the original. |
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.
|
String |
toString() |
buildFromProto, buildSetQuotaRequestProto, getNamespace, getRegionServer, getTableName, getUserName, ownerToString, sizeToString, timeToString, validateQuotaTargetprivate final boolean bypassGlobals
QuotaGlobalsSettingsBypass(String userName, TableName tableName, String namespace, String regionServer, boolean bypassGlobals)
public QuotaType getQuotaType()
getQuotaType in class QuotaSettingsprotected void setupSetQuotaRequest(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest.Builder builder)
QuotaSettingssetupSetQuotaRequest in class QuotaSettingsprotected boolean getBypass()
protected QuotaSettingsFactory.QuotaGlobalsSettingsBypass merge(QuotaSettings newSettings) throws IOException
QuotaSettingsthis and returns a new settings
object to the caller if the merged settings differ from the original.merge in class QuotaSettingsnewSettings - The new settings to merge in.QuotaSettings object or null if the quota should be deleted.IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.