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