Class SpaceQuotaSnapshotNotifierForTest

java.lang.Object
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifierForTest
All Implemented Interfaces:
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier

@Private public class SpaceQuotaSnapshotNotifierForTest extends Object implements org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier
A SpaceQuotaSnapshotNotifier implementation for testing.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • tableQuotaSnapshots

      private final Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> tableQuotaSnapshots
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.apache.hadoop.hbase.client.Connection conn)
      Specified by:
      initialize in interface org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier
    • transitionTable

      public void transitionTable(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
      Specified by:
      transitionTable in interface org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNotifier
    • copySnapshots

      public Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> copySnapshots()
    • clearSnapshots

      public void clearSnapshots()