Class UnboundedStablePriorityMailbox

java.lang.Object
org.apache.pekko.dispatch.UnboundedStablePriorityMailbox
All Implemented Interfaces:
MailboxType, ProducesMessageQueue<UnboundedStablePriorityMailbox.MessageQueue>

public class UnboundedStablePriorityMailbox extends Object implements MailboxType, ProducesMessageQueue<UnboundedStablePriorityMailbox.MessageQueue>
UnboundedStablePriorityMailbox is an unbounded mailbox that allows for prioritization of its contents. Unlike the UnboundedPriorityMailbox it preserves ordering for messages of equal priority. Extend this class and provide the Comparator in the constructor.