Package | Description |
---|---|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Method and Description |
---|---|
ThrottleType |
ThrottleSettings.getThrottleType() |
static ThrottleType |
ThrottleType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrottleType[] |
ThrottleType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private Map<ThrottleType,org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota> |
GlobalQuotaSettingsImpl.buildThrottleQuotas(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle proto) |
Modifier and Type | Method and Description |
---|---|
(package private) static ThrottleSettings |
ThrottleSettings.fromTimedQuota(String userName,
TableName tableName,
String namespace,
String regionServer,
ThrottleType type,
org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota timedQuota) |
private static QuotaSettings |
QuotaSettingsFactory.throttle(String userName,
TableName tableName,
String namespace,
String regionServer,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope) |
static QuotaSettings |
QuotaSettingsFactory.throttleNamespace(String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleNamespace(String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope)
Throttle the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleRegionServer(String regionServer,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified region server.
|
static QuotaSettings |
QuotaSettingsFactory.throttleTable(TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleTable(TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope)
Throttle the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user on the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope)
Throttle the specified user on the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user on the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope)
Throttle the specified user on the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope)
Throttle the specified user.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleNamespaceByThrottleType(String namespace,
ThrottleType type)
Remove the throttling for the specified namespace by throttle type.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleRegionServerByThrottleType(String regionServer,
ThrottleType type)
Remove the throttling for the specified region server by throttle type.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleTableByThrottleType(TableName tableName,
ThrottleType type)
Remove the throttling for the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleUserByThrottleType(String userName,
String namespace,
ThrottleType type)
Remove the throttling for the specified user on the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleUserByThrottleType(String userName,
TableName tableName,
ThrottleType type)
Remove the throttling for the specified user on the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.unthrottleUserByThrottleType(String userName,
ThrottleType type)
Remove the throttling for the specified user.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.