Package org.apache.pekko.dispatch
Class UnboundedPriorityMailbox.MessageQueue
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractQueue<E>
- 
- java.util.concurrent.PriorityBlockingQueue<Envelope>
- 
- org.apache.pekko.dispatch.UnboundedPriorityMailbox.MessageQueue
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Iterable<Envelope>,- java.util.Collection<Envelope>,- java.util.concurrent.BlockingQueue<Envelope>,- java.util.Queue<Envelope>,- MessageQueue,- MultipleConsumerSemantics,- QueueBasedMessageQueue,- UnboundedMessageQueueSemantics,- UnboundedQueueBasedMessageQueue
 - Enclosing class:
- UnboundedPriorityMailbox
 
 public static class UnboundedPriorityMailbox.MessageQueue extends java.util.concurrent.PriorityBlockingQueue<Envelope> implements UnboundedQueueBasedMessageQueue - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MessageQueue(int initialCapacity, java.util.Comparator<Envelope> cmp)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Queue<Envelope>queue()- 
Methods inherited from class java.util.concurrent.PriorityBlockingQueueadd, clear, comparator, contains, drainTo, drainTo, forEach, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, removeAll, removeIf, retainAll, size, spliterator, take, toArray, toArray, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, stream, toArray
 - 
Methods inherited from interface org.apache.pekko.dispatch.QueueBasedMessageQueuecleanUp, hasMessages, numberOfMessages
 - 
Methods inherited from interface org.apache.pekko.dispatch.UnboundedQueueBasedMessageQueuedequeue, enqueue
 
- 
 
- 
- 
- 
Constructor Detail- 
MessageQueuepublic MessageQueue(int initialCapacity, java.util.Comparator<Envelope> cmp)
 
- 
 - 
Method Detail- 
queuepublic final java.util.Queue<Envelope> queue() - Specified by:
- queuein interface- QueueBasedMessageQueue
 
 
- 
 
-