| UnboundedPriorityMailbox Constructor |
Namespace:
Akka.Dispatch
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax protected UnboundedPriorityMailbox(
Settings settings,
Config config
)
new :
settings : Settings *
config : Config -> UnboundedPriorityMailbox
Parameters
- settings
- Type: Akka.ActorSettings
[Missing <param name="settings"/> documentation for "M:Akka.Dispatch.UnboundedPriorityMailbox.#ctor(Akka.Actor.Settings,Akka.Configuration.Config)"]
- config
- Type: Akka.ConfigurationConfig
[Missing <param name="config"/> documentation for "M:Akka.Dispatch.UnboundedPriorityMailbox.#ctor(Akka.Actor.Settings,Akka.Configuration.Config)"]
Remarks
Possibly important notice.
When implementing a custom MailboxType, be aware that there is special semantics attached to
ActorOf(Props, String) in that sending the returned
IActorRef 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 ahs performed that second step will all previously sent messages be transferred from the
dummy queue to the real mailbox.
Implemented as an abstract class in order to enforce constructor requirements.
See Also