Class RequestQueue<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.concurrent.LinkedBlockingQueue<E>
org.apache.flink.runtime.io.disk.iomanager.RequestQueue<E>
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable,Iterable<E>,Collection<E>,BlockingQueue<E>,Queue<E>
A
LinkedBlockingQueue that is extended with closing methods.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.LinkedBlockingQueue
clear, contains, drainTo, drainTo, forEach, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, removeAll, removeIf, retainAll, size, spliterator, take, toArray, toArray, toStringMethods inherited from class java.util.AbstractQueue
add, addAll, element, removeMethods inherited from class java.util.AbstractCollection
containsAll, isEmptyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.BlockingQueue
addMethods inherited from interface java.util.Collection
addAll, containsAll, equals, hashCode, isEmpty, parallelStream, stream, toArray
-
Constructor Details
-
RequestQueue
public RequestQueue()
-
-
Method Details
-
close
public void close()Closes this request queue.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- See Also:
-
isClosed
public boolean isClosed()Checks whether this request queue is closed.- Returns:
- True, if the queue is closed, false otherwise.
-