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 |
table
connection
conf, 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, 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
RandomReadTest(org.apache.hadoop.hbase.client.Connection 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
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.