Package | Description |
---|---|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Class and Description |
---|---|
class |
UserQuotaState
In-Memory state of the user quotas
|
Modifier and Type | Field and Description |
---|---|
private ConcurrentHashMap<String,QuotaState> |
QuotaCache.namespaceQuotaCache |
private ConcurrentHashMap<String,QuotaState> |
QuotaCache.regionServerQuotaCache |
private ConcurrentHashMap<TableName,QuotaState> |
QuotaCache.tableQuotaCache |
Modifier and Type | Method and Description |
---|---|
private <K,V extends QuotaState> |
QuotaCache.QuotaRefresherChore.fetch(String type,
ConcurrentHashMap<K,V> quotasMap,
QuotaCache.Fetcher<K,V> fetcher) |
Modifier and Type | Method and Description |
---|---|
private <K> QuotaState |
QuotaCache.getQuotaState(ConcurrentHashMap<K,QuotaState> quotasMap,
K key)
Returns the QuotaState requested.
|
Modifier and Type | Method and Description |
---|---|
static <K> Map<K,QuotaState> |
QuotaUtil.fetchGlobalQuotas(String type,
Connection connection,
List<Get> gets,
QuotaUtil.KeyFromRow<K> kfr) |
static Map<String,QuotaState> |
QuotaUtil.fetchNamespaceQuotas(Connection connection,
List<Get> gets,
double factor) |
static Map<String,QuotaState> |
QuotaUtil.fetchRegionServerQuotas(Connection connection,
List<Get> gets) |
static Map<TableName,QuotaState> |
QuotaUtil.fetchTableQuotas(Connection connection,
List<Get> gets,
Map<TableName,Double> tableMachineFactors) |
(package private) Map<String,QuotaState> |
QuotaCache.getNamespaceQuotaCache() |
(package private) Map<String,QuotaState> |
QuotaCache.getRegionServerQuotaCache() |
(package private) Map<TableName,QuotaState> |
QuotaCache.getTableQuotaCache() |
Modifier and Type | Method and Description |
---|---|
void |
QuotaState.update(QuotaState other)
Perform an update of the quota info based on the other quota info object.
|
void |
UserQuotaState.update(QuotaState other)
Perform an update of the quota state based on the other quota state object.
|
Modifier and Type | Method and Description |
---|---|
private <K> QuotaState |
QuotaCache.getQuotaState(ConcurrentHashMap<K,QuotaState> quotasMap,
K key)
Returns the QuotaState requested.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.