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 |
private Random |
rd |
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) void |
testRow(int i) |
protected void |
testTakedown() |
onStartup, onTakedown
closeConnection, createConnection
generateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, 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)
void testRow(int i) throws IOException, InterruptedException
testRow
in class PerformanceEvaluation.TestBase
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–2019 The Apache Software Foundation. All rights reserved.