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