public class TestTableQuotaViolationStore extends Object
TableQuotaSnapshotStore
.Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.quotas.QuotaObserverChore |
chore |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.client.Connection |
conn |
private static long |
ONE_MEGABYTE |
private Map<org.apache.hadoop.hbase.client.RegionInfo,Long> |
regionReports |
private org.apache.hadoop.hbase.quotas.TableQuotaSnapshotStore |
store |
Constructor and Description |
---|
TestTableQuotaViolationStore() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
mockNoSnapshotSizes() |
void |
setup() |
void |
testFilterRegionsByTable() |
void |
testGetSpaceQuota() |
void |
testTargetViolationState() |
public static final HBaseClassTestRule CLASS_RULE
private static final long ONE_MEGABYTE
private org.apache.hadoop.hbase.client.Connection conn
private org.apache.hadoop.hbase.quotas.QuotaObserverChore chore
private Map<org.apache.hadoop.hbase.client.RegionInfo,Long> regionReports
private org.apache.hadoop.hbase.quotas.TableQuotaSnapshotStore store
public TestTableQuotaViolationStore()
public void setup()
public void testFilterRegionsByTable() throws Exception
Exception
public void testTargetViolationState() throws IOException
IOException
public void testGetSpaceQuota() throws Exception
Exception
void mockNoSnapshotSizes() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.