static class PerformanceEvaluation.MetaRandomReadTest extends PerformanceEvaluation.MetaTest
Modifier and Type | Field and Description |
---|---|
private Random |
rd |
private org.apache.hadoop.hbase.client.RegionLocator |
regionLocator |
keyLength
table
connection
conf, opts, rand
Constructor and Description |
---|
MetaRandomReadTest(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 |
onStartup() |
(package private) boolean |
testRow(int i,
long startTime)
Test for individual row.
|
protected void |
testTakedown() |
getSplitKey, onTakedown
generateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
private org.apache.hadoop.hbase.client.RegionLocator regionLocator
MetaRandomReadTest(org.apache.hadoop.hbase.client.Connection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
void onStartup() throws IOException
onStartup
in class PerformanceEvaluation.TableTest
IOException
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–2021 The Apache Software Foundation. All rights reserved.