@InterfaceAudience.Private public class SpaceQuotaRefresherChore extends ScheduledChore
ScheduledChore
which periodically updates the RegionServerSpaceQuotaManager
with information from the hbase:quota.Constructor and Description |
---|
SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
Map<TableName,SpaceQuotaSnapshot> |
fetchSnapshotsFromQuotaTable()
Reads all quota snapshots from the quota table.
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNow
public SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager, Connection conn)
protected void chore()
ScheduledChore
chore
in class ScheduledChore
public Map<TableName,SpaceQuotaSnapshot> fetchSnapshotsFromQuotaTable() throws IOException
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.