public class TestClientTableMetrics extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.Connection |
CONN |
private static byte[] |
FAMILY |
private static org.apache.hadoop.hbase.client.MetricsConnection |
METRICS |
private static org.apache.hadoop.hbase.TableName |
TABLE_1 |
private static String |
tableName |
private static HBaseTestingUtil |
UTIL |
Constructor and Description |
---|
TestClientTableMetrics() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
void |
testGetTableMetrics() |
void |
testMultiTableMetrics() |
void |
testMutateTableMetrics() |
void |
testScanTableMetrics() |
private static void |
verifyTableMetrics(String metricKey,
int expectedVal) |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtil UTIL
private static org.apache.hadoop.hbase.client.Connection CONN
private static org.apache.hadoop.hbase.client.MetricsConnection METRICS
private static final String tableName
private static final org.apache.hadoop.hbase.TableName TABLE_1
private static final byte[] FAMILY
public TestClientTableMetrics()
public static void beforeClass() throws Exception
Exception
public static void afterClass() throws Exception
Exception
public void testGetTableMetrics() throws IOException
IOException
public void testMutateTableMetrics() throws IOException
IOException
public void testScanTableMetrics() throws IOException
IOException
public void testMultiTableMetrics() throws IOException
IOException
private static void verifyTableMetrics(String metricKey, int expectedVal)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.