Uses of Class
org.apache.hadoop.hbase.quotas.QuotaSettings
Package
Description
Provides HBase Client
-
Uses of org.apache.hadoop.hbase.quotas.QuotaSettings in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.quotas.QuotaSettings>
Admin.getQuota
(org.apache.hadoop.hbase.quotas.QuotaFilter filter) List the quotas based on the filter.CompletableFuture<List<org.apache.hadoop.hbase.quotas.QuotaSettings>>
AsyncAdmin.getQuota
(org.apache.hadoop.hbase.quotas.QuotaFilter filter) List the quotas based on the filter.Modifier and TypeMethodDescriptionvoid
Admin.setQuota
(org.apache.hadoop.hbase.quotas.QuotaSettings quota) Apply the new quota settings.AsyncAdmin.setQuota
(org.apache.hadoop.hbase.quotas.QuotaSettings quota) Apply the new quota settings. -
Uses of org.apache.hadoop.hbase.quotas.QuotaSettings in org.apache.hadoop.hbase.quotas
Modifier and TypeClassDescriptionclass
org.apache.hadoop.hbase.quotas.GlobalQuotaSettings
An object which captures all quotas types (throttle or space) for a subject (user, table, or namespace).class
org.apache.hadoop.hbase.quotas.GlobalQuotaSettingsImpl
Implementation ofGlobalQuotaSettings
to hide the Protobuf messages we use internally.class
org.apache.hadoop.hbase.quotas.ThrottleSettings
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettings.buildFromProto
(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest request) Converts the protocol buffer request into a QuotaSetting POJO.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.bypassGlobals
(String userName, boolean bypassGlobals) Set the "bypass global settings" for the specified userstatic org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.limitNamespaceSpace
(String namespace, long sizeLimit, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy violationPolicy) Creates aQuotaSettings
object to limit the FileSystem space usage for the given namespace to the given size in bytes.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.limitTableSpace
(org.apache.hadoop.hbase.TableName tableName, long sizeLimit, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy violationPolicy) Creates aQuotaSettings
object to limit the FileSystem space usage for the given table to the given size in bytes.org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaRetriever.next()
static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.removeNamespaceSpaceLimit
(String namespace) Creates aQuotaSettings
object to remove the FileSystem space quota for the given namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.removeTableSpaceLimit
(org.apache.hadoop.hbase.TableName tableName) Creates aQuotaSettings
object to remove the FileSystem space quota for the given table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleNamespace
(String namespace, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit) Throttle the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleNamespace
(String namespace, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit, org.apache.hadoop.hbase.quotas.QuotaScope scope) Throttle the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleRegionServer
(String regionServer, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit) Throttle the specified region server.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit) Throttle the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit, org.apache.hadoop.hbase.quotas.QuotaScope scope) Throttle the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleUser
(String userName, String namespace, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit) Throttle the specified user on the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleUser
(String userName, String namespace, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit, org.apache.hadoop.hbase.quotas.QuotaScope scope) Throttle the specified user on the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleUser
(String userName, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit) Throttle the specified user.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleUser
(String userName, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit, org.apache.hadoop.hbase.quotas.QuotaScope scope) Throttle the specified user.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleUser
(String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit) Throttle the specified user on the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.throttleUser
(String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.ThrottleType type, long limit, TimeUnit timeUnit, org.apache.hadoop.hbase.quotas.QuotaScope scope) Throttle the specified user on the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleNamespace
(String namespace) Remove the throttling for the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleNamespaceByThrottleType
(String namespace, org.apache.hadoop.hbase.quotas.ThrottleType type) Remove the throttling for the specified namespace by throttle type.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleRegionServer
(String regionServer) Remove the throttling for the specified region server.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleRegionServerByThrottleType
(String regionServer, org.apache.hadoop.hbase.quotas.ThrottleType type) Remove the throttling for the specified region server by throttle type.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleTable
(org.apache.hadoop.hbase.TableName tableName) Remove the throttling for the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleTableByThrottleType
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.ThrottleType type) Remove the throttling for the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleUser
(String userName) Remove the throttling for the specified user.static org.apache.hadoop.hbase.quotas.QuotaSettings
Remove the throttling for the specified user on the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleUser
(String userName, org.apache.hadoop.hbase.TableName tableName) Remove the throttling for the specified user on the specified table.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleUserByThrottleType
(String userName, String namespace, org.apache.hadoop.hbase.quotas.ThrottleType type) Remove the throttling for the specified user on the specified namespace.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleUserByThrottleType
(String userName, org.apache.hadoop.hbase.quotas.ThrottleType type) Remove the throttling for the specified user.static org.apache.hadoop.hbase.quotas.QuotaSettings
QuotaSettingsFactory.unthrottleUserByThrottleType
(String userName, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.ThrottleType type) Remove the throttling for the specified user on the specified table.Modifier and TypeMethodDescriptionabstract List<org.apache.hadoop.hbase.quotas.QuotaSettings>
GlobalQuotaSettings.getQuotaSettings()
Computes a list of QuotaSettings that present the complete quota state of the combination of this user, table, and/or namespace.List<org.apache.hadoop.hbase.quotas.QuotaSettings>
GlobalQuotaSettingsImpl.getQuotaSettings()
Iterator<org.apache.hadoop.hbase.quotas.QuotaSettings>
QuotaRetriever.iterator()
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest
QuotaSettings.buildSetQuotaRequestProto
(org.apache.hadoop.hbase.quotas.QuotaSettings settings) Convert a QuotaSettings to a protocol buffer SetQuotaRequest.protected org.apache.hadoop.hbase.quotas.GlobalQuotaSettingsImpl
GlobalQuotaSettingsImpl.merge
(org.apache.hadoop.hbase.quotas.QuotaSettings other) protected org.apache.hadoop.hbase.quotas.ThrottleSettings
ThrottleSettings.merge
(org.apache.hadoop.hbase.quotas.QuotaSettings other) Modifier and TypeMethodDescriptionstatic void
QuotaTableUtil.parseResultToCollection
(org.apache.hadoop.hbase.client.Result result, Collection<org.apache.hadoop.hbase.quotas.QuotaSettings> quotaSettings)