case class NonBlockingBoundedMailbox(capacity: Int) extends MailboxType with ProducesMessageQueue[BoundedNodeMessageQueue] with Product with Serializable
NonBlockingBoundedMailbox is a high-performance, multiple-producer single-consumer, bounded MailboxType, Noteworthy is that it discards overflow as DeadLetters.
It can't have multiple consumers, which rules out using it with BalancingPool (BalancingDispatcher) for instance.
NOTE: NonBlockingBoundedMailbox does not use mailbox-push-timeout-time as it is non-blocking.
- Source
- Mailbox.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- NonBlockingBoundedMailbox
- Serializable
- Serializable
- Product
- Equals
- ProducesMessageQueue
- MailboxType
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
- val capacity: Int
-
final
def
create(owner: Option[ActorRef], system: Option[ActorSystem]): MessageQueue
- Definition Classes
- NonBlockingBoundedMailbox → MailboxType