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 violation policies which are to be enforced 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()
ScheduledChorechore in class ScheduledChorepublic Map<TableName,SpaceQuotaSnapshot> fetchSnapshotsFromQuotaTable() throws IOException
IOException