static class PerformanceEvaluation.RandomReadTest extends PerformanceEvaluation.TableTest
| 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 |
tableconnectionconf, opts, rand| Constructor and Description |
|---|
RandomReadTest(org.apache.hadoop.hbase.client.Connection con,
PerformanceEvaluation.TestOptions options,
PerformanceEvaluation.Status status) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getReportingPeriod() |
(package private) void |
testRow(int i) |
protected void |
testTakedown() |
onStartup, onTakedowncloseConnection, createConnectiongenerateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSizeprivate final org.apache.hadoop.hbase.client.Consistency consistency
RandomReadTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
void testRow(int i) throws IOException, InterruptedException
testRow in class PerformanceEvaluation.TestBaseIOExceptionInterruptedExceptionprotected int getReportingPeriod()
getReportingPeriod in class PerformanceEvaluation.TestBaseprotected void testTakedown() throws IOException
testTakedown in class PerformanceEvaluation.TestBaseIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.