public class ProcessEditorBlockingQueue
extends java.util.concurrent.ArrayBlockingQueue
Constructor and Description |
---|
ProcessEditorBlockingQueue(int capacity) |
ProcessEditorBlockingQueue(int capacity,
boolean fair,
java.util.Collection c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object e) |
boolean |
offer(java.lang.Object e) |
boolean |
offer(java.lang.Object e,
long timeout,
java.util.concurrent.TimeUnit unit) |
void |
put(java.lang.Object e) |
java.lang.Object |
take() |
clear, contains, drainTo, drainTo, iterator, peek, poll, poll, remainingCapacity, remove, size, spliterator, toArray, toArray, toString
containsAll, isEmpty, removeAll, retainAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ProcessEditorBlockingQueue(int capacity, boolean fair, java.util.Collection c)
public ProcessEditorBlockingQueue(int capacity)
public boolean add(java.lang.Object e)
add
in interface java.util.Collection
add
in interface java.util.concurrent.BlockingQueue
add
in interface java.util.Queue
add
in class java.util.concurrent.ArrayBlockingQueue
public void put(java.lang.Object e) throws java.lang.InterruptedException
put
in interface java.util.concurrent.BlockingQueue
put
in class java.util.concurrent.ArrayBlockingQueue
java.lang.InterruptedException
public boolean offer(java.lang.Object e)
offer
in interface java.util.concurrent.BlockingQueue
offer
in interface java.util.Queue
offer
in class java.util.concurrent.ArrayBlockingQueue
public boolean offer(java.lang.Object e, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
offer
in interface java.util.concurrent.BlockingQueue
offer
in class java.util.concurrent.ArrayBlockingQueue
java.lang.InterruptedException
public java.lang.Object take() throws java.lang.InterruptedException
take
in interface java.util.concurrent.BlockingQueue
take
in class java.util.concurrent.ArrayBlockingQueue
java.lang.InterruptedException