@InterfaceAudience.Private public class QuotaObserverChore extends ScheduledChore
Constructor and Description |
---|
QuotaObserverChore(HMaster master,
MetricsMaster metrics) |
Modifier and Type | Method and Description |
---|---|
protected void |
chore()
The task to execute on each scheduled execution of the 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, toString, triggerNow
public QuotaObserverChore(HMaster master, MetricsMaster metrics)
protected void chore()
ScheduledChore
chore
in class ScheduledChore
public 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–2019 Cloudera. All rights reserved.