@InterfaceAudience.Private public class SpaceQuotaSnapshotNotifierForTest extends Object implements org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> |
tableQuotaSnapshots |
Constructor and Description |
---|
SpaceQuotaSnapshotNotifierForTest() |
Modifier and Type | Method and Description |
---|---|
void |
clearSnapshots() |
Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> |
copySnapshots() |
void |
initialize(org.apache.hadoop.hbase.client.Connection conn) |
void |
transitionTable(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) |
private static final org.slf4j.Logger LOG
private final Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> tableQuotaSnapshots
public SpaceQuotaSnapshotNotifierForTest()
public void initialize(org.apache.hadoop.hbase.client.Connection conn)
initialize
in interface org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier
public void transitionTable(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
transitionTable
in interface org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier
public Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> copySnapshots()
public void clearSnapshots()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.