| Package | Description |
|---|---|
| org.apache.hadoop.hbase.quotas | |
| org.apache.hadoop.hbase.shaded.protobuf |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
static QuotaSettings |
QuotaSettingsFactory.throttleNamespace(String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified namespace.
|
static QuotaSettings |
QuotaSettingsFactory.throttleTable(org.apache.hadoop.hbase.TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
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,
org.apache.hadoop.hbase.TableName tableName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user on the specified table.
|
static QuotaSettings |
QuotaSettingsFactory.throttleUser(String userName,
ThrottleType type,
long limit,
TimeUnit timeUnit)
Throttle the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
static ThrottleType |
ProtobufUtil.toThrottleType(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleType proto)
Convert a protocol buffer ThrottleType to a client ThrottleType
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleType |
ProtobufUtil.toProtoThrottleType(ThrottleType type)
Convert a client ThrottleType to a protocol buffer ThrottleType
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.