@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
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 The Apache Software Foundation. All rights reserved.