Package akka.dispatch
Interface MailboxType
-
- All Known Implementing Classes:
BoundedControlAwareMailbox
,BoundedDequeBasedMailbox
,BoundedMailbox
,BoundedPriorityMailbox
,BoundedStablePriorityMailbox
,NonBlockingBoundedMailbox
,SingleConsumerOnlyUnboundedMailbox
,UnboundedControlAwareMailbox
,UnboundedDequeBasedMailbox
,UnboundedMailbox
,UnboundedPriorityMailbox
,UnboundedStablePriorityMailbox
public interface MailboxType
MailboxType is a factory to create MessageQueues for an optionally provided ActorContext.Possibly Important Notice
When implementing a custom mailbox type, be aware that there is special semantics attached to
system.actorOf()
in that sending to the returned ActorRef may—for a short period of time—enqueue the messages first in a dummy queue. Top-level actors are created in two steps, and only after the guardian actor has performed that second step will all previously sent messages be transferred from the dummy queue into the real mailbox.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageQueue
create(scala.Option<ActorRef> owner, scala.Option<ActorSystem> system)
-
-
-
Method Detail
-
create
MessageQueue create(scala.Option<ActorRef> owner, scala.Option<ActorSystem> system)
-
-