public static class UnboundedStablePriorityMailbox.MessageQueue extends StablePriorityBlockingQueue<Envelope> implements UnboundedQueueBasedMessageQueue
PriorityQueueStabilizer.WrappedElement<E>, PriorityQueueStabilizer.WrappedElementComparator<E>| Constructor and Description |
|---|
MessageQueue(int initialCapacity,
java.util.Comparator<Envelope> cmp) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Queue<Envelope> |
queue() |
backingQueue, seqNumcontains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdequeue, enqueuecleanUp, hasMessages, numberOfMessagesiterator, offer, peek, poll, sizepublic MessageQueue(int initialCapacity,
java.util.Comparator<Envelope> cmp)
public final java.util.Queue<Envelope> queue()
queue in interface QueueBasedMessageQueue