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 long | 
numOfReplyFromReplica  | 
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) boolean | 
testRow(int i,
       long startTime)
Test for individual row. 
 | 
protected void | 
testTakedown()  | 
onStartup, onTakedowngenerateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSizeprivate final org.apache.hadoop.hbase.client.Consistency consistency
private long numOfReplyFromReplica
RandomReadTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
boolean testRow(int i, long startTime) throws IOException, InterruptedException
PerformanceEvaluation.TestBasetestRow in class PerformanceEvaluation.TestBasei - Row index.IOExceptionInterruptedExceptionprotected int getReportingPeriod()
getReportingPeriod in class PerformanceEvaluation.TestBaseprotected void testTakedown() throws IOException
testTakedown in class PerformanceEvaluation.TestBaseIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.