@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(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.
|
public void transitionTable(TableName tableName, SpaceQuotaSnapshot snapshot) throws IOException
SpaceQuotaSnapshotNotifier
transitionTable
in interface SpaceQuotaSnapshotNotifier
tableName
- The name of the table.snapshot
- The details of the space quota utilization.IOException
public void initialize(Connection conn)
SpaceQuotaSnapshotNotifier
initialize
in interface SpaceQuotaSnapshotNotifier
Copyright © 2007–2019 Cloudera. All rights reserved.