Package | Description |
---|---|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Class and Description |
---|---|
(package private) class |
NoopQuotaLimiter
Noop quota limiter returned when no limiter is associated to the user/table
|
class |
TimeBasedLimiter
Simple time based limiter that checks the quota Throttle
|
Modifier and Type | Field and Description |
---|---|
private QuotaLimiter |
QuotaState.globalLimiter |
private static QuotaLimiter |
NoopQuotaLimiter.instance |
Modifier and Type | Field and Description |
---|---|
private List<QuotaLimiter> |
DefaultOperationQuota.limiters |
private Map<String,QuotaLimiter> |
UserQuotaState.namespaceLimiters |
private Map<TableName,QuotaLimiter> |
UserQuotaState.tableLimiters |
Modifier and Type | Method and Description |
---|---|
(package private) static QuotaLimiter |
TimeBasedLimiter.fromThrottle(org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle throttle) |
static QuotaLimiter |
QuotaLimiterFactory.fromThrottle(org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle throttle) |
static QuotaLimiter |
NoopQuotaLimiter.get() |
QuotaLimiter |
QuotaState.getGlobalLimiter()
Return the limiter associated with this quota.
|
(package private) QuotaLimiter |
QuotaState.getGlobalLimiterWithoutUpdatingLastQuery()
Return the limiter associated with this quota without updating internal last query stats
|
QuotaLimiter |
QuotaCache.getNamespaceLimiter(String namespace)
Returns the limiter associated to the specified namespace.
|
QuotaLimiter |
UserQuotaState.getTableLimiter(TableName table)
Return the limiter for the specified table associated with this quota.
|
QuotaLimiter |
QuotaCache.getTableLimiter(TableName table)
Returns the limiter associated to the specified table.
|
QuotaLimiter |
QuotaCache.getUserLimiter(org.apache.hadoop.security.UserGroupInformation ugi,
TableName table)
Returns the limiter associated to the specified user/table.
|
static QuotaLimiter |
QuotaLimiterFactory.update(QuotaLimiter a,
QuotaLimiter b) |
Modifier and Type | Method and Description |
---|---|
private <K> Map<K,QuotaLimiter> |
UserQuotaState.setLimiter(Map<K,QuotaLimiter> limiters,
K key,
org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas quotas) |
private static <K> Map<K,QuotaLimiter> |
UserQuotaState.updateLimiters(Map<K,QuotaLimiter> map,
Map<K,QuotaLimiter> otherMap) |
Modifier and Type | Method and Description |
---|---|
static QuotaLimiter |
QuotaLimiterFactory.update(QuotaLimiter a,
QuotaLimiter b) |
Modifier and Type | Method and Description |
---|---|
private <K> Map<K,QuotaLimiter> |
UserQuotaState.setLimiter(Map<K,QuotaLimiter> limiters,
K key,
org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Quotas quotas) |
private static <K> Map<K,QuotaLimiter> |
UserQuotaState.updateLimiters(Map<K,QuotaLimiter> map,
Map<K,QuotaLimiter> otherMap) |
private static <K> Map<K,QuotaLimiter> |
UserQuotaState.updateLimiters(Map<K,QuotaLimiter> map,
Map<K,QuotaLimiter> otherMap) |
Constructor and Description |
---|
DefaultOperationQuota(QuotaLimiter... limiters) |
Constructor and Description |
---|
DefaultOperationQuota(List<QuotaLimiter> limiters)
NOTE: The order matters.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.