public class TestStealJobQueue extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| 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
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–2019 Cloudera. All rights reserved.