Package org.apache.hadoop.hbase
Class PerformanceEvaluation.AsyncSequentialWriteTest
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.AsyncSequentialWriteTest
- Direct Known Subclasses:
PerformanceEvaluation.AsyncRandomWriteTest
- Enclosing class:
- PerformanceEvaluation
static class PerformanceEvaluation.AsyncSequentialWriteTest
extends PerformanceEvaluation.AsyncTableTest
-
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
ConstructorsConstructorDescriptionAsyncSequentialWriteTest(AsyncConnection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status) -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]generateRow(long i) (package private) booleantestRow(long i, long startTime) Test for individual row.Methods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.AsyncTableTest
onStartup, onTakedownMethods inherited from class org.apache.hadoop.hbase.PerformanceEvaluation.TestBase
generateStatus, getLastRow, getLatencyHistogram, getReportingPeriod, getShortLatencyReport, getShortValueSizeReport, getStartRow, getValueLength, isRandomValueSize, test, testSetup, testTakedown, testTimed, updateScanMetrics, updateValueSize, updateValueSize, updateValueSize, updateValueSize, updateValueSize
-
Field Details
-
puts
-
-
Constructor Details
-
AsyncSequentialWriteTest
AsyncSequentialWriteTest(AsyncConnection con, PerformanceEvaluation.TestOptions options, PerformanceEvaluation.Status status)
-
-
Method Details
-
generateRow
-
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
-