Package | Description |
---|---|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.quotas |
Modifier and Type | Method and Description |
---|---|
static QuotaScope |
ProtobufUtil.toQuotaScope(org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaScope proto)
Convert a protocol buffer QuotaScope to a client QuotaScope
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaScope |
ProtobufUtil.toProtoQuotaScope(QuotaScope scope)
Convert a client QuotaScope to a protocol buffer QuotaScope
|
static org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota |
ProtobufUtil.toTimedQuota(long limit,
TimeUnit timeUnit,
QuotaScope scope)
Build a protocol buffer TimedQuota
|
Modifier and Type | Method and Description |
---|---|
static QuotaScope |
QuotaScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotaScope[] |
QuotaScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.