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
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 size of the mailbox for the specified actor
Returns the size of the mailbox for the specified actor
Returns the amount of futures queued for execution
Returns the amount of futures queued for execution
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
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