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(Connection conn)
Initializes the notifier.
|
void |
transitionTable(TableName tableName,
SpaceQuotaSnapshot snapshot)
Instructs the cluster that the given table is in violation of a space quota.
|
public void transitionTable(TableName tableName, SpaceQuotaSnapshot snapshot) throws IOException
SpaceQuotaSnapshotNotifiertransitionTable in interface SpaceQuotaSnapshotNotifiertableName - The name of the table in violation of the quota.snapshot - The details of the violation of the quota.IOExceptionpublic void initialize(Connection conn)
SpaceQuotaSnapshotNotifierinitialize in interface SpaceQuotaSnapshotNotifier