public static class AbstractMROWTestCase.WriterTask extends Object implements Callable<Integer>
The writer exposes state to the readers so that they can perform reads on written records and so that the can validate those reads against ground truth.
Constructor and Description |
---|
AbstractMROWTestCase.WriterTask(IRawStore store,
int reclen,
long nwrites2,
long writeDelayMillis) |
Modifier and Type | Method and Description |
---|---|
Integer |
call()
Writes any remaining records (starts from nrecs and runs to nwrites
so we can pre-write some records first).
|
AbstractMROWTestCase.Record |
getRandomGroundTruthRecord()
Return a randomly choosen ground truth record.
|
void |
write()
Write a random record and record it in
records . |
public AbstractMROWTestCase.WriterTask(IRawStore store, int reclen, long nwrites2, long writeDelayMillis)
public AbstractMROWTestCase.Record getRandomGroundTruthRecord()
public Integer call() throws Exception
public void write()
records
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.