public class TestBoundedPriorityBlockingQueue extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
TestBoundedPriorityBlockingQueue.TestObject |
(package private) static class |
TestBoundedPriorityBlockingQueue.TestObjectComparator |
| Modifier and Type | Field and Description |
|---|---|
private static int |
CAPACITY |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.util.BoundedPriorityBlockingQueue<TestBoundedPriorityBlockingQueue.TestObject> |
queue |
| Constructor and Description |
|---|
TestBoundedPriorityBlockingQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
tesAppend() |
void |
tesAppendSamePriority() |
void |
testFifoSamePriority() |
void |
testInsert() |
void |
testPoll() |
void |
testPollInExecutor() |
void |
testPrepend() |
public static final HBaseClassTestRule CLASS_RULE
private static final int CAPACITY
private org.apache.hadoop.hbase.util.BoundedPriorityBlockingQueue<TestBoundedPriorityBlockingQueue.TestObject> queue
public TestBoundedPriorityBlockingQueue()
public void tesAppendSamePriority() throws Exception
Exceptionpublic void testPrepend() throws Exception
Exceptionpublic void testInsert() throws Exception
Exceptionpublic void testFifoSamePriority() throws Exception
Exceptionpublic void testPoll()
public void testPollInExecutor() throws InterruptedException
InterruptedExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.