Package org.apache.hadoop.hbase.util
Class TestStealJobQueue
java.lang.Object
org.apache.hadoop.hbase.util.TestStealJobQueue
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestStealJobQueue
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) BlockingQueue<Integer>(package private) org.apache.hadoop.hbase.util.StealJobQueue<Integer> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
-