Package org.apache.hadoop.hbase.util
Class TestStealJobQueue
java.lang.Object
org.apache.hadoop.hbase.util.TestStealJobQueue
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) BlockingQueue<Integer>
(package private) org.apache.hadoop.hbase.util.StealJobQueue<Integer>
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
stealJobQueue
org.apache.hadoop.hbase.util.StealJobQueue<Integer> stealJobQueue -
stealFromQueue
-
-
Constructor Details
-
TestStealJobQueue
public TestStealJobQueue()
-
-
Method Details
-
setup
-
testTake
- Throws:
InterruptedException
-
testOfferInStealQueueFromShouldUnblock
- Throws:
InterruptedException
-
testOfferInStealJobQueueShouldUnblock
- Throws:
InterruptedException
-
testPoll
- Throws:
InterruptedException
-
testPutInStealQueueFromShouldUnblockPoll
- Throws:
InterruptedException
-
testAddInStealJobQueueShouldUnblockPoll
- Throws:
InterruptedException
-
testInteractWithThreadPool
- Throws:
InterruptedException
-