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
Exceptionpublic void testTargetViolationState() throws IOException
IOExceptionpublic void testGetSpaceQuota() throws Exception
Exceptionvoid mockNoSnapshotSizes() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.