E - @Deprecated
public abstract class FactoryBlockingQueue<E>
extends java.lang.Object
implements java.util.concurrent.BlockingQueue<E>
| Constructor and Description |
|---|
FactoryBlockingQueue()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Deprecated.
|
boolean |
addAll(java.util.Collection<? extends E> c)
Deprecated.
|
void |
clear()
Deprecated.
|
boolean |
contains(java.lang.Object o)
Deprecated.
|
boolean |
containsAll(java.util.Collection<?> c)
Deprecated.
|
protected abstract E |
create()
Deprecated.
|
int |
drainTo(java.util.Collection<? super E> c)
Deprecated.
|
int |
drainTo(java.util.Collection<? super E> c,
int maxElements)
Deprecated.
|
E |
element()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
java.util.Iterator<E> |
iterator()
Deprecated.
|
boolean |
offer(E e)
Deprecated.
|
boolean |
offer(E e,
long timeout,
java.util.concurrent.TimeUnit unit)
Deprecated.
blocks until timeout as this queue is always full by definition
|
E |
peek()
Deprecated.
|
E |
poll()
Deprecated.
|
E |
poll(long timeout,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
void |
put(E e)
Deprecated.
WARNING: blocks indefinitely as this queue is always full by definition
|
int |
remainingCapacity()
Deprecated.
|
E |
remove()
Deprecated.
|
boolean |
remove(java.lang.Object o)
Deprecated.
|
boolean |
removeAll(java.util.Collection<?> c)
Deprecated.
|
boolean |
retainAll(java.util.Collection<?> c)
Deprecated.
|
int |
size()
Deprecated.
|
E |
take()
Deprecated.
|
java.lang.Object[] |
toArray()
Deprecated.
|
<T> T[] |
toArray(T[] a)
Deprecated.
|
protected abstract E create()
public E take() throws java.lang.InterruptedException
take in interface java.util.concurrent.BlockingQueue<E>java.lang.InterruptedExceptionpublic E poll(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
poll in interface java.util.concurrent.BlockingQueue<E>java.lang.InterruptedExceptionpublic boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>public boolean add(E e)
public boolean offer(E e)
public void put(E e) throws java.lang.InterruptedException
put in interface java.util.concurrent.BlockingQueue<E>java.lang.InterruptedExceptionpublic boolean offer(E e, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
offer in interface java.util.concurrent.BlockingQueue<E>java.lang.InterruptedExceptionpublic int drainTo(java.util.Collection<? super E> c)
drainTo in interface java.util.concurrent.BlockingQueue<E>public int drainTo(java.util.Collection<? super E> c, int maxElements)
drainTo in interface java.util.concurrent.BlockingQueue<E>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<E>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>public boolean remove(java.lang.Object o)
public boolean contains(java.lang.Object o)
public void clear()
clear in interface java.util.Collection<E>public boolean isEmpty()
isEmpty in interface java.util.Collection<E>public int size()
size in interface java.util.Collection<E>public int remainingCapacity()
remainingCapacity in interface java.util.concurrent.BlockingQueue<E>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<E>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<E>Copyright © 2015 Molindo GmbH. All Rights Reserved.