Attaches the specified actorRef to this dispatcher
Attaches the specified actorRef to this dispatcher
Returns true if the donation succeeded or false otherwise
Returns true if the donation succeeded or false otherwise
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 an available recipient for the message, if any
Returns an available recipient for the message, if any
Rewrites the message and adds that message to the recipients mailbox returns true if the message is non-null
Rewrites the message and adds that message to the recipients mailbox returns true if the message is non-null
Returns true if it successfully donated a message
Returns true if it successfully donated a message
the mailbox associated with the actor
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
An executor based event driven dispatcher which will try to redistribute work from busy actors to idle actors. It is assumed that all actors using the same instance of this dispatcher can process all messages that have been sent to one of the actors. I.e. the actors belong to a pool of actors, and to the client there is no guarantee about which actor instance actually processes a given message.
Although the technique used in this implementation is commonly known as "work stealing", the actual implementation is probably best described as "work donating" because the actor of which work is being stolen takes the initiative.
The preferred way of creating dispatchers is to use the
akka.dispatch.Dispatchers
factory object.akka.dispatch.Dispatchers
,akka.dispatch.ExecutorBasedEventDrivenWorkStealingDispatcher