static class PerformanceEvaluation.AsyncRandomReadTest extends PerformanceEvaluation.AsyncTableTest
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.Consistency |
consistency |
private ArrayList<org.apache.hadoop.hbase.client.Get> |
gets |
table
connection
conf, opts, rand
Constructor and Description |
---|
AsyncRandomReadTest(org.apache.hadoop.hbase.client.AsyncConnection con,
PerformanceEvaluation.TestOptions options,
PerformanceEvaluation.Status status) |
Modifier and Type | Method and Description |
---|---|
protected int |
getReportingPeriod() |
static <V> V |
propagate(Callable<V> callable) |
static RuntimeException |
runtime(Throwable e) |
(package private) boolean |
testRow(int i,
long startTime)
Test for individual row.
|
protected void |
testTakedown() |
onStartup, onTakedown
generateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
private final org.apache.hadoop.hbase.client.Consistency consistency
AsyncRandomReadTest(org.apache.hadoop.hbase.client.AsyncConnection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
boolean testRow(int i, long startTime) throws IOException, InterruptedException
PerformanceEvaluation.TestBase
testRow
in class PerformanceEvaluation.TestBase
i
- Row index.IOException
InterruptedException
public static RuntimeException runtime(Throwable e)
protected int getReportingPeriod()
getReportingPeriod
in class PerformanceEvaluation.TestBase
protected void testTakedown() throws IOException
testTakedown
in class PerformanceEvaluation.TestBase
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.