public final class RequestQueue<E> extends LinkedBlockingQueue<E> implements Closeable
LinkedBlockingQueue that is extended with closing methods.| 构造器和说明 |
|---|
RequestQueue() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Closeableclose 在接口中 AutoCloseableCloseable.close()public boolean isClosed()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.