public class SpaceQuotaSnapshotNotifierForTest extends Object implements SpaceQuotaSnapshotNotifier
| Constructor and Description |
|---|
SpaceQuotaSnapshotNotifierForTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSnapshots() |
Map<TableName,SpaceQuotaSnapshot> |
copySnapshots() |
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 initialize(Connection conn)
SpaceQuotaSnapshotNotifierinitialize in interface SpaceQuotaSnapshotNotifierpublic void transitionTable(TableName tableName, SpaceQuotaSnapshot snapshot)
SpaceQuotaSnapshotNotifiertransitionTable in interface SpaceQuotaSnapshotNotifiertableName - The name of the table in violation of the quota.snapshot - The details of the violation of the quota.public Map<TableName,SpaceQuotaSnapshot> copySnapshots()
public void clearSnapshots()