@InterfaceAudience.Private public class QuotaObserverChore extends ScheduledChore
| Constructor and Description |
|---|
QuotaObserverChore(HMaster master,
MetricsMaster metrics) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
Map<String,SpaceQuotaSnapshot> |
getNamespaceQuotaSnapshots()
Returns an unmodifiable view over the current
SpaceQuotaSnapshot objects for each HBase
namespace with a quota defined. |
Map<TableName,SpaceQuotaSnapshot> |
getTableQuotaSnapshots()
Returns an unmodifiable view over the current
SpaceQuotaSnapshot objects for each HBase
table with a quota defined. |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic QuotaObserverChore(HMaster master, MetricsMaster metrics)
protected void chore()
chore in class ScheduledChorepublic Map<TableName,SpaceQuotaSnapshot> getTableQuotaSnapshots()
SpaceQuotaSnapshot objects for each HBase
table with a quota defined.public Map<String,SpaceQuotaSnapshot> getNamespaceQuotaSnapshots()
SpaceQuotaSnapshot objects for each HBase
namespace with a quota defined.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.