Package org.apache.hadoop.hbase.test
Class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader.TimeBoundedMultiThreadedReaderThread
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread
org.apache.hadoop.hbase.test.IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader.TimeBoundedMultiThreadedReaderThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread
readerId, startTimeMs, table
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.client.Get
createGet
(long keyToRead) protected long
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) Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread
closeTable, createTable, queryKey, queryKey, run, verifyResultsAndUpdateMetrics
Methods inherited from class java.lang.Thread
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
-
Constructor Details
-
TimeBoundedMultiThreadedReaderThread
- Throws:
IOException
-
-
Method Details
-
createGet
- Overrides:
createGet
in classMultiThreadedReader.HBaseReaderThread
- Throws:
IOException
-
getNextKeyToRead
- Overrides:
getNextKeyToRead
in classMultiThreadedReader.HBaseReaderThread
-
verifyResultsAndUpdateMetrics
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 - Overrides:
verifyResultsAndUpdateMetrics
in classMultiThreadedReader.HBaseReaderThread
- Throws:
IOException
-