public final class CompletableLinkedQueue<T> extends LinkedTransferQueue<T> implements CompletableQueue<T>
| Constructor and Description |
|---|
CompletableLinkedQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Mark this queue as complete
|
boolean |
isComplete()
Get the number of items persisted right now.
|
add, contains, drainTo, drainTo, getWaitingConsumerCount, hasWaitingConsumer, isEmpty, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, size, spliterator, take, transfer, tryTransfer, tryTransferaddAll, clear, element, removecontainsAll, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraypublic void complete()
CompletableQueuecomplete in interface CompletableQueue<T>public boolean isComplete()
CompletableQueueisComplete in interface CompletableQueue<T>this#complete()Copyright © 2016. All rights reserved.