public class TestAsyncTableScanMetrics extends Object
Modifier and Type | Class and Description |
---|---|
private static interface |
TestAsyncTableScanMetrics.ScanWithMetrics |
Modifier and Type | Field and Description |
---|---|
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.AsyncConnection |
CONN |
private static byte[] |
CQ |
TestAsyncTableScanMetrics.ScanWithMetrics |
method |
String |
methodName |
private static int |
NUM_REGIONS |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestAsyncTableScanMetrics() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> |
doScanWithAsyncTableScan(org.apache.hadoop.hbase.client.Scan scan) |
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> |
doScanWithAsyncTableScanner(org.apache.hadoop.hbase.client.Scan scan) |
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> |
doScanWithRawAsyncTable(org.apache.hadoop.hbase.client.Scan scan) |
static List<Object[]> |
params() |
static void |
setUp() |
static void |
tearDown() |
void |
testNoScanMetrics() |
void |
testScanMetrics() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] CF
private static final byte[] CQ
private static final byte[] VALUE
private static org.apache.hadoop.hbase.client.AsyncConnection CONN
private static int NUM_REGIONS
public String methodName
public TestAsyncTableScanMetrics.ScanWithMetrics method
public TestAsyncTableScanMetrics()
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithRawAsyncTable(org.apache.hadoop.hbase.client.Scan scan) throws IOException, InterruptedException
IOException
InterruptedException
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithAsyncTableScan(org.apache.hadoop.hbase.client.Scan scan) throws Exception
Exception
private static org.apache.hadoop.hbase.util.Pair<List<org.apache.hadoop.hbase.client.Result>,org.apache.hadoop.hbase.client.metrics.ScanMetrics> doScanWithAsyncTableScanner(org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOException
public void testNoScanMetrics() throws Exception
Exception
public void testScanMetrics() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.