private static final class TestApiV1ClusterMetricsResource.ClassSetup extends org.junit.rules.ExternalResource
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.AsyncAdmin |
admin |
private Supplier<org.apache.hadoop.hbase.client.AsyncConnection> |
connectionSupplier |
private org.apache.hadoop.hbase.TableName |
tableName |
private org.apache.hbase.thirdparty.javax.ws.rs.client.WebTarget |
target |
Constructor and Description |
---|
ClassSetup(Supplier<org.apache.hadoop.hbase.client.AsyncConnection> connectionSupplier) |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
protected void |
before() |
org.apache.hbase.thirdparty.javax.ws.rs.client.WebTarget |
getTarget() |
private final Supplier<org.apache.hadoop.hbase.client.AsyncConnection> connectionSupplier
private final org.apache.hadoop.hbase.TableName tableName
private org.apache.hadoop.hbase.client.AsyncAdmin admin
private org.apache.hbase.thirdparty.javax.ws.rs.client.WebTarget target
public ClassSetup(Supplier<org.apache.hadoop.hbase.client.AsyncConnection> connectionSupplier)
public org.apache.hbase.thirdparty.javax.ws.rs.client.WebTarget getTarget()
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.