public interface MailboxType
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.
Modifier and Type | Method and Description |
---|---|
MessageQueue |
create(scala.Option<ActorRef> owner,
scala.Option<ActorSystem> system) |
MessageQueue create(scala.Option<ActorRef> owner, scala.Option<ActorSystem> system)