private static final class TestAsyncMetaRegionLocator.Setup extends org.junit.rules.ExternalResource
Modifier and Type | Field and Description |
---|---|
private ConnectionRule |
connectionRule |
private boolean |
initialized |
private org.apache.hadoop.hbase.client.AsyncMetaRegionLocator |
locator |
private MiniClusterRule |
miniClusterRule |
private org.apache.hadoop.hbase.client.ConnectionRegistry |
registry |
private HBaseTestingUtility |
testUtil |
Constructor and Description |
---|
Setup(ConnectionRule connectionRule,
MiniClusterRule miniClusterRule) |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
private void |
assertInitialized() |
protected void |
before() |
org.apache.hadoop.hbase.client.AsyncMetaRegionLocator |
getLocator() |
HBaseTestingUtility |
getTestingUtility() |
private final MiniClusterRule miniClusterRule
private final ConnectionRule connectionRule
private boolean initialized
private HBaseTestingUtility testUtil
private org.apache.hadoop.hbase.client.AsyncMetaRegionLocator locator
private org.apache.hadoop.hbase.client.ConnectionRegistry registry
public Setup(ConnectionRule connectionRule, MiniClusterRule miniClusterRule)
public HBaseTestingUtility getTestingUtility()
public org.apache.hadoop.hbase.client.AsyncMetaRegionLocator getLocator()
private void assertInitialized()
protected void before() throws Throwable
before
in class org.junit.rules.ExternalResource
Throwable
protected void after()
after
in class org.junit.rules.ExternalResource
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.