public class TestStealJobQueue extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
TestStealJobQueue.TestTask |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) BlockingQueue<Integer> |
stealFromQueue |
(package private) org.apache.hadoop.hbase.util.StealJobQueue<Integer> |
stealJobQueue |
| Constructor and Description |
|---|
TestStealJobQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testAddInStealJobQueueShouldUnblockPoll() |
void |
testInteractWithThreadPool() |
void |
testOfferInStealJobQueueShouldUnblock() |
void |
testOfferInStealQueueFromShouldUnblock() |
void |
testPoll() |
void |
testPutInStealQueueFromShouldUnblockPoll() |
void |
testTake() |
public static final HBaseClassTestRule CLASS_RULE
org.apache.hadoop.hbase.util.StealJobQueue<Integer> stealJobQueue
BlockingQueue<Integer> stealFromQueue
public TestStealJobQueue()
public void setup()
public void testTake() throws InterruptedException
InterruptedExceptionpublic void testOfferInStealQueueFromShouldUnblock() throws InterruptedException
InterruptedExceptionpublic void testOfferInStealJobQueueShouldUnblock() throws InterruptedException
InterruptedExceptionpublic void testPoll() throws InterruptedException
InterruptedExceptionpublic void testPutInStealQueueFromShouldUnblockPoll() throws InterruptedException
InterruptedExceptionpublic void testAddInStealJobQueueShouldUnblockPoll() throws InterruptedException
InterruptedExceptionpublic void testInteractWithThreadPool() throws InterruptedException
InterruptedExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.