class UnboundedPriorityMailbox extends MailboxType with ProducesMessageQueue[dispatch.UnboundedPriorityMailbox.MessageQueue]
UnboundedPriorityMailbox is an unbounded mailbox that allows for prioritization of its contents. Extend this class and provide the Comparator in the constructor.
- Source
- Mailbox.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- UnboundedPriorityMailbox
- ProducesMessageQueue
- MailboxType
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new UnboundedPriorityMailbox(cmp: Comparator[Envelope])
- new UnboundedPriorityMailbox(cmp: Comparator[Envelope], initialCapacity: Int)
Value Members
- val cmp: Comparator[Envelope]
-
final
def
create(owner: Option[ActorRef], system: Option[ActorSystem]): MessageQueue
- Definition Classes
- UnboundedPriorityMailbox → MailboxType
- val initialCapacity: Int