public final class RequestQueue<E> extends LinkedBlockingQueue<E> implements Closeable
LinkedBlockingQueue that is extended with closing methods.| Constructor and Description |
|---|
RequestQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this request queue.
|
boolean |
isClosed()
Checks whether this request queue is closed.
|
clear, contains, drainTo, drainTo, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, size, spliterator, take, toArray, toArray, toStringadd, addAll, element, removecontainsAll, isEmpty, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, streampublic void close()
close in interface Closeableclose in interface AutoCloseableCloseable.close()public boolean isClosed()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.