public static class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
extends MultiThreadedReader
Modifier and Type | Class and Description |
---|---|
class |
IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader.TimeBoundedMultiThreadedReaderThread |
Modifier and Type | Field and Description |
---|---|
protected long |
runTime |
protected AtomicLong |
staleReads |
protected AtomicLong |
timedOutReads |
protected long |
timeoutNano |
protected Thread |
timeoutThread |
Constructor and Description |
---|
TimeBoundedMultiThreadedReader(LoadTestDataGenerator dataGen,
Configuration conf,
TableName tableName,
double verifyPercent) |
Modifier and Type | Method and Description |
---|---|
protected HBaseReaderThread |
createReaderThread(int readerId) |
protected String |
progressInfo() |
void |
start(long startKey,
long endKey,
int numThreads) |
void |
waitForFinish() |
protected long timeoutNano
protected AtomicLong timedOutReads
protected long runTime
protected Thread timeoutThread
protected AtomicLong staleReads
public TimeBoundedMultiThreadedReader(LoadTestDataGenerator dataGen, Configuration conf, TableName tableName, double verifyPercent) throws IOException
IOException
public void waitForFinish()
protected String progressInfo()
public void start(long startKey, long endKey, int numThreads) throws IOException
IOException
protected HBaseReaderThread createReaderThread(int readerId) throws IOException
IOException