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 |
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) 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
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.TestBase
IOException
InterruptedException
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.