Package org.apache.hadoop.hbase.client
Class TestMetricsConnection
java.lang.Object
org.apache.hadoop.hbase.client.TestMetricsConnection
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ThreadPoolExecutor
static final HBaseClassTestRule
private static final org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.hbase.client.MetricsConnection
private static final String
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
void
before()
params()
void
void
private void
testRpcCallMetrics
(String table, int expectedVal) private void
testRpcCallTableMetrics
(String table, int expectedVal) void
-
Field Details
-
CLASS_RULE
-
conf
-
METRICS
-
BATCH_POOL
-
MOCK_CONN_STR
- See Also:
-
tableMetricsEnabled
-
-
Constructor Details
-
TestMetricsConnection
public TestMetricsConnection()
-
-
Method Details
-
params
-
before
-
after
-
testMetricsConnectionScope
- Throws:
IOException
-
testMetricsWithMultiConnections
- Throws:
IOException
-
testStaticMetrics
- Throws:
IOException
-
testRpcCallTableMetrics
-
testRpcCallMetrics
-