public class CustomLinkedBlockingQueue<E>
extends java.util.concurrent.LinkedBlockingQueue<E>
| Constructor and Description |
|---|
CustomLinkedBlockingQueue() |
CustomLinkedBlockingQueue(BlockingQueueListener listener) |
CustomLinkedBlockingQueue(java.util.Collection c) |
CustomLinkedBlockingQueue(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
BlockingQueueListener |
getListener() |
E |
poll() |
E |
poll(long timeout,
java.util.concurrent.TimeUnit unit) |
void |
put(E e) |
void |
setListener(BlockingQueueListener listener) |
E |
take() |
clear, contains, drainTo, drainTo, iterator, offer, offer, peek, remainingCapacity, remove, size, spliterator, toArray, toArray, toStringcontainsAll, isEmpty, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic CustomLinkedBlockingQueue()
public CustomLinkedBlockingQueue(BlockingQueueListener listener)
public CustomLinkedBlockingQueue(int capacity)
public CustomLinkedBlockingQueue(java.util.Collection c)
public BlockingQueueListener getListener()
public void setListener(BlockingQueueListener listener)
public void put(E e) throws java.lang.InterruptedException
public boolean add(E e)
public E take() throws java.lang.InterruptedException
public E poll(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException