public class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader.TimeBoundedMultiThreadedReaderThread extends MultiThreadedReader.HBaseReaderThread
Thread.State, Thread.UncaughtExceptionHandler
readerId, startTimeMs, table
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TimeBoundedMultiThreadedReaderThread(int readerId) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.client.Get |
createGet(long keyToRead) |
protected long |
getNextKeyToRead() |
protected void |
verifyResultsAndUpdateMetrics(boolean verify,
org.apache.hadoop.hbase.client.Get[] gets,
long elapsedNano,
org.apache.hadoop.hbase.client.Result[] results,
org.apache.hadoop.hbase.client.Table table,
boolean isNullExpected) |
closeTable, createTable, queryKey, queryKey, run, verifyResultsAndUpdateMetrics
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public TimeBoundedMultiThreadedReaderThread(int readerId) throws IOException
IOException
protected org.apache.hadoop.hbase.client.Get createGet(long keyToRead) throws IOException
createGet
in class MultiThreadedReader.HBaseReaderThread
IOException
protected long getNextKeyToRead()
getNextKeyToRead
in class MultiThreadedReader.HBaseReaderThread
protected void verifyResultsAndUpdateMetrics(boolean verify, org.apache.hadoop.hbase.client.Get[] gets, long elapsedNano, org.apache.hadoop.hbase.client.Result[] results, org.apache.hadoop.hbase.client.Table table, boolean isNullExpected) throws IOException
verifyResultsAndUpdateMetrics
in class MultiThreadedReader.HBaseReaderThread
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.