@InterfaceAudience.Private public class SpaceQuotaRefresherChore extends ScheduledChore
ScheduledChore which periodically updates the RegionServerSpaceQuotaManager
with information from the hbase:quota.| 构造器和说明 |
|---|
SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager,
Connection conn) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 ScheduledChorepublic Map<TableName,SpaceQuotaSnapshot> fetchSnapshotsFromQuotaTable() throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.