Package org.apache.hadoop.hbase.quotas
Interface SpaceQuotaSnapshotNotifier
- All Known Implementing Classes:
TableSpaceQuotaSnapshotNotifier
An interface which abstract away the action taken to enable or disable a space quota violation
policy across the HBase cluster. Implementations must have a no-args constructor.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(Connection conn) Initializes the notifier.voidtransitionTable(TableName tableName, SpaceQuotaSnapshot snapshot) Informs the cluster of the current state of a space quota for a table.
-
Method Details
-
initialize
Initializes the notifier. -
transitionTable
Informs the cluster of the current state of a space quota for a table.- Parameters:
tableName- The name of the table.snapshot- The details of the space quota utilization.- Throws:
IOException
-