=doc Missing by in Actors/Initialization patterns

This commit is contained in:
Markus Hauck 2015-10-13 12:31:01 +02:00
parent d11ad927d9
commit 48cf736f95

View file

@ -948,7 +948,7 @@ Initialization via preStart
The method ``preStart()`` of an actor is only called once directly during the initialization of the first instance, that
is, at creation of its ``ActorRef``. In the case of restarts, ``preStart()`` is called from ``postRestart()``, therefore
if not overridden, ``preStart()`` is called on every incarnation. However, overriding ``postRestart()`` one can disable
if not overridden, ``preStart()`` is called on every incarnation. However, by overriding ``postRestart()`` one can disable
this behavior, and ensure that there is only one call to ``preStart()``.
One useful usage of this pattern is to disable creation of new ``ActorRefs`` for children during restarts. This can be