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
InterruptedException
public void testOfferInStealQueueFromShouldUnblock() throws InterruptedException
InterruptedException
public void testOfferInStealJobQueueShouldUnblock() throws InterruptedException
InterruptedException
public void testPoll() throws InterruptedException
InterruptedException
public void testPutInStealQueueFromShouldUnblockPoll() throws InterruptedException
InterruptedException
public void testAddInStealJobQueueShouldUnblockPoll() throws InterruptedException
InterruptedException
public void testInteractWithThreadPool() throws InterruptedException
InterruptedException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.