=doc Missing by in Actors/Initialization patterns
This commit is contained in:
parent
d11ad927d9
commit
48cf736f95
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue