public class TestNamespaceQuotaViolationStore extends Object
NamespaceQuotaSnapshotStore.| 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.NamespaceQuotaSnapshotStore | 
store  | 
| Constructor and Description | 
|---|
TestNamespaceQuotaViolationStore()  | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) void | 
mockNoSnapshotSizes()  | 
void | 
setup()  | 
void | 
testFilterRegionsByNamespace()  | 
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.NamespaceQuotaSnapshotStore store
public TestNamespaceQuotaViolationStore()
public void setup()
public void testGetSpaceQuota() throws Exception
Exceptionpublic void testTargetViolationState() throws IOException
IOExceptionpublic void testFilterRegionsByNamespace()
void mockNoSnapshotSizes() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.