@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() |
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, triggerNowpublic SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager, Connection conn)
protected void chore()
chore in class ScheduledChorepublic Map<TableName,SpaceQuotaSnapshot> fetchSnapshotsFromQuotaTable() throws IOException
IOExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.