public final class CompletableLinkedQueue<T> extends java.util.concurrent.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, tryTransfer
containsAll, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public void complete()
CompletableQueue
complete
in interface CompletableQueue<T>
public boolean isComplete()
CompletableQueue
isComplete
in interface CompletableQueue<T>
this#complete()