@InterfaceAudience.Private
public class SpaceQuotaRefresherChore
extends org.apache.hadoop.hbase.ScheduledChore
ScheduledChore which periodically updates the RegionServerSpaceQuotaManager
with information from the hbase:quota.| Constructor and Description |
|---|
SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager,
org.apache.hadoop.hbase.client.Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> |
fetchSnapshotsFromQuotaTable()
Reads all quota snapshots from the quota table.
|
public SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager, org.apache.hadoop.hbase.client.Connection conn)
protected void chore()
chore in class org.apache.hadoop.hbase.ScheduledChorepublic Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> fetchSnapshotsFromQuotaTable() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.