Package org.apache.hadoop.hbase
Class PerformanceEvaluation.AsyncRandomReadTest
java.lang.Object
org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
org.apache.hadoop.hbase.PerformanceEvaluation.AsyncTest
org.apache.hadoop.hbase.PerformanceEvaluation.AsyncTableTest
org.apache.hadoop.hbase.PerformanceEvaluation.AsyncRandomReadTest
- Enclosing class:
- PerformanceEvaluation
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.AsyncTableTest
tableFields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.AsyncTest
connectionFields inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
conf, latencyHistogram, opts, status -
Constructor Summary
ConstructorsConstructorDescriptionAsyncRandomReadTest(AsyncConnection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status) -
Method Summary
Modifier and TypeMethodDescriptionprotected longstatic <V> Vstatic RuntimeException(package private) booleantestRow(long i, long startTime) Test for individual row.protected voidMethods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.AsyncTableTest
onStartup, onTakedownMethods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
generateStatus, getLastRow, getLatencyHistogram, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
-
Field Details
-
consistency
-
gets
-
-
Constructor Details
-
AsyncRandomReadTest
AsyncRandomReadTest(AsyncConnection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
-
-
Method Details
-
testRow
Description copied from class:PerformanceEvaluation.TestBaseTest for individual row.- Specified by:
testRowin classPerformanceEvaluation.TestBase- Parameters:
i- Row index.- Returns:
- true if the row was sent to server and need to record metrics. False if not, multiGet and multiPut e.g., the rows are sent to server only if enough gets/puts are gathered.
- Throws:
IOExceptionInterruptedException
-
runtime
-
propagate
-
getReportingPeriod
- Overrides:
getReportingPeriodin classPerformanceEvaluation.TestBase
-
testTakedown
- Overrides:
testTakedownin classPerformanceEvaluation.TestBase- Throws:
IOException
-