Class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader

java.lang.Object
org.apache.hadoop.hbase.util.MultiThreadedAction
org.apache.hadoop.hbase.util.MultiThreadedReader
org.apache.hadoop.hbase.test.IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
Enclosing class:
IntegrationTestTimeBoundedRequestsWithRegionReplicas

public static class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader extends org.apache.hadoop.hbase.util.MultiThreadedReader
  • Nested Class Summary

    Nested Classes

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader

    org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction

    org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected long
     
    protected AtomicLong
     
    protected AtomicLong
     
    protected long
     
    protected Thread
     

    Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader

    aborted, DEFAULT_BATCH_SIZE, DEFAULT_KEY_WINDOW, DEFAULT_MAX_ERRORS, nullResult, numKeysVerified, numReadErrors, numReadFailures, readers, writer

    Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction

    conf, connection, dataGenerator, endKey, numCols, numKeys, numThreads, numThreadsWorking, REPORTING_INTERVAL_MS, startKey, tableName, totalOpTimeMs, verbose
  • Constructor Summary

    Constructors
    Constructor
    Description
    TimeBoundedMultiThreadedReader(org.apache.hadoop.hbase.util.test.LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread
    createReaderThread(int readerId)
     
    protected String
     
    void
    start(long startKey, long endKey, int numThreads)
     
    void
     

    Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader

    addReaderThreads, getNullResultsCount, getNumKeysVerified, getNumReadErrors, getNumReadFailures, getNumUniqueKeysVerified, linkToWriter, setKeyWindow, setMaxErrors, setMultiGetBatchSize, setRegionReplicaId

    Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction

    appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TimeBoundedMultiThreadedReader

      public TimeBoundedMultiThreadedReader(org.apache.hadoop.hbase.util.test.LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent) throws IOException
      Throws:
      IOException
  • Method Details

    • waitForFinish

      public void waitForFinish()
      Overrides:
      waitForFinish in class org.apache.hadoop.hbase.util.MultiThreadedAction
    • progressInfo

      protected String progressInfo()
      Overrides:
      progressInfo in class org.apache.hadoop.hbase.util.MultiThreadedReader
    • start

      public void start(long startKey, long endKey, int numThreads) throws IOException
      Overrides:
      start in class org.apache.hadoop.hbase.util.MultiThreadedReader
      Throws:
      IOException
    • createReaderThread

      protected org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread createReaderThread(int readerId) throws IOException
      Overrides:
      createReaderThread in class org.apache.hadoop.hbase.util.MultiThreadedReader
      Throws:
      IOException