@InterfaceAudience.Private public class TableSpaceQuotaSnapshotNotifier extends Object implements SpaceQuotaSnapshotNotifier
SpaceQuotaSnapshotNotifier which uses the hbase:quota table.| Constructor and Description |
|---|
TableSpaceQuotaSnapshotNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.apache.hadoop.hbase.client.Connection conn)
Initializes the notifier.
|
void |
transitionTable(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
Informs the cluster of the current state of a space quota for a table.
|
public void transitionTable(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
throws IOException
SpaceQuotaSnapshotNotifiertransitionTable in interface SpaceQuotaSnapshotNotifiertableName - The name of the table.snapshot - The details of the space quota utilization.IOExceptionpublic void initialize(org.apache.hadoop.hbase.client.Connection conn)
SpaceQuotaSnapshotNotifierinitialize in interface SpaceQuotaSnapshotNotifierCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.