| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.quotas | |
| org.apache.hadoop.hbase.shaded.protobuf |
| 限定符和类型 | 方法和说明 |
|---|---|
static QuotaScope |
QuotaScope.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static QuotaScope[] |
QuotaScope.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static QuotaSettings |
QuotaSettingsFactory.throttleNamespace(String namespace,
ThrottleType type,
long limit,
TimeUnit timeUnit,
QuotaScope scope)
Throttle the specified namespace.
|
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,
QuotaScope scope)
Throttle the specified user on the specified namespace.
|
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,
QuotaScope scope)
Throttle the specified user.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static QuotaScope |
ProtobufUtil.toQuotaScope(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope proto)
Convert a protocol buffer QuotaScope to a client QuotaScope
|
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope |
ProtobufUtil.toProtoQuotaScope(QuotaScope scope)
Convert a client QuotaScope to a protocol buffer QuotaScope
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota |
ProtobufUtil.toTimedQuota(long limit,
TimeUnit timeUnit,
QuotaScope scope)
Build a protocol buffer TimedQuota
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.