Attaches the specified actorRef to this dispatcher
Attaches the specified actorRef to this dispatcher
Creates and returns a mailbox for the given actor.
Creates and returns a mailbox for the given actor.
Detaches the specified actorRef from this dispatcher
Detaches the specified actorRef from this dispatcher
Will be called when the dispatcher is to queue an invocation for execution
Will be called when the dispatcher is to queue an invocation for execution
Returns the "current" emptiness status of the mailbox for the specified actor
Returns the "current" emptiness status of the mailbox for the specified actor
Returns the size of the mailbox for the specified actor
Returns the size of the mailbox for the specified actor
Name of this dispatcher.
Name of this dispatcher.
Called one time every time an actor is detached from this dispatcher and this dispatcher has no actors left attached
Called one time every time an actor is detached from this dispatcher and this dispatcher has no actors left attached
Called one time every time an actor is attached to this dispatcher and this dispatcher was previously shutdown
Called one time every time an actor is attached to this dispatcher and this dispatcher was previously shutdown
Traverses the list of actors (uuids) currently being attached to this dispatcher and stops those actors
Traverses the list of actors (uuids) currently being attached to this dispatcher and stops those actors
After the call to this method, the dispatcher mustn't begin any new message processing for the specified reference
After the call to this method, the dispatcher mustn't begin any new message processing for the specified reference
Returns the amount of tasks queued for execution
Returns the amount of tasks queued for execution
When the dispatcher no longer has any actors registered, how long will it wait until it shuts itself down, in Ms defaulting to your akka configs "akka.
When the dispatcher no longer has any actors registered, how long will it wait until it shuts itself down, in Ms defaulting to your akka configs "akka.actor.dispatcher-shutdown-timeout" or otherwise, 1 Second
Returns the amount of futures queued for execution
Returns the amount of futures queued for execution
Will be removed for Akka 2.0, use 'tasks' instead
Dispatcher which runs invocations on the current thread only. This dispatcher does not create any new threads, but it can be used from different threads concurrently for the same actor. The dispatch strategy is to run on the current thread unless the target actor is either suspended or already running on the current thread (if it is running on a different thread, then this thread will block until that other invocation is finished); if the invocation is not run, it is queued in a thread-local queue to be executed once the active invocation further up the call stack finishes. This leads to completely deterministic execution order if only one thread is used.
Suspending and resuming are global actions for one actor, meaning they can affect different threads, which leads to complications. If messages are queued (thread-locally) during the suspended period, the only thread to run them upon resume is the thread actually calling the resume method. Hence, all thread-local queues which are not currently being drained (possible, since suspend-queue-resume might happen entirely during an invocation on a different thread) are scooped up into the current thread-local queue which is then executed. It is possible to suspend an actor from within its call stack.
1.1