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
IOExceptionInterruptedExceptionprivate 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
Exceptionprivate 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
IOExceptionpublic void testNoScanMetrics() throws Exception
Exceptionpublic void testScanMetrics() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.