Removing 1-entry lists

This commit is contained in:
Viktor Klang 2011-12-08 15:03:23 +01:00
parent 6cdb0126ad
commit 519aa39f18

View file

@ -474,9 +474,7 @@ Upgrade
------- -------
Akka supports hotswapping the Actors message loop (e.g. its implementation) at Akka supports hotswapping the Actors message loop (e.g. its implementation) at
runtime. runtime: Invoke the ``become`` method from within the Actor.
* Invoke the ``become`` method from within the Actor.
Become takes a ``PartialFunction[Any, Unit]`` that implements Become takes a ``PartialFunction[Any, Unit]`` that implements
the new message handler. The hotswapped code is kept in a Stack which can be the new message handler. The hotswapped code is kept in a Stack which can be
@ -548,9 +546,7 @@ Downgrade
--------- ---------
Since the hotswapped code is pushed to a Stack you can downgrade the code as Since the hotswapped code is pushed to a Stack you can downgrade the code as
well. well, all you need to do is to: Invoke the ``unbecome`` method from within the Actor.
* Invoke the ``unbecome`` method from within the Actor.
This will pop the Stack and replace the Actor's implementation with the This will pop the Stack and replace the Actor's implementation with the
``PartialFunction[Any, Unit]`` that is at the top of the Stack. ``PartialFunction[Any, Unit]`` that is at the top of the Stack.