DOC: Another correction of stop description

This commit is contained in:
Patrik Nordwall 2011-12-14 20:40:01 +01:00
parent 7b2349c0d9
commit c57b2732e7
2 changed files with 6 additions and 10 deletions

View file

@ -342,11 +342,9 @@ Stopping actors
Actors are stopped by invoking the :meth:`stop` method of a ``ActorRefFactory``, Actors are stopped by invoking the :meth:`stop` method of a ``ActorRefFactory``,
i.e. ``ActorContext`` or ``ActorSystem``. Typically the context is used for stopping i.e. ``ActorContext`` or ``ActorSystem``. Typically the context is used for stopping
child actors and the system for stopping top level actors. When using the context child actors and the system for stopping top level actors. The actual termination of
to stop an actor the actual termination of the actor is performed asynchronously, the actor is performed asynchronously, i.e. :meth:`stop` may return before the actor is
i.e. :meth:`stop` may return before the actor is stopped. When using the system to stopped.
stop an actor the :meth:`stop` method will block until the actor is stopped, or
timeout occurs (``akka.actor.creation-timeout`` :ref:`configuration` property).
Processing of the current message, if any, will continue before the actor is stopped, Processing of the current message, if any, will continue before the actor is stopped,
but additional messages in the mailbox will not be processed. By default these but additional messages in the mailbox will not be processed. By default these

View file

@ -409,11 +409,9 @@ Stopping actors
Actors are stopped by invoking the :meth:`stop` method of a ``ActorRefFactory``, Actors are stopped by invoking the :meth:`stop` method of a ``ActorRefFactory``,
i.e. ``ActorContext`` or ``ActorSystem``. Typically the context is used for stopping i.e. ``ActorContext`` or ``ActorSystem``. Typically the context is used for stopping
child actors and the system for stopping top level actors. When using the context child actors and the system for stopping top level actors. The actual termination of
to stop an actor the actual termination of the actor is performed asynchronously, the actor is performed asynchronously, i.e. :meth:`stop` may return before the actor is
i.e. :meth:`stop` may return before the actor is stopped. When using the system to stopped.
stop an actor the :meth:`stop` method will block until the actor is stopped, or
timeout occurs (``akka.actor.creation-timeout`` :ref:`configuration` property).
Processing of the current message, if any, will continue before the actor is stopped, Processing of the current message, if any, will continue before the actor is stopped,
but additional messages in the mailbox will not be processed. By default these but additional messages in the mailbox will not be processed. By default these