From 99d22be04865628c5a75ab926a9da1f339003064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Antonsson?= Date: Wed, 25 Apr 2012 11:56:41 +0200 Subject: [PATCH] Added doc note on routers and termination --- akka-docs/java/routing.rst | 6 ++++++ akka-docs/scala/routing.rst | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/akka-docs/java/routing.rst b/akka-docs/java/routing.rst index 2272c22004..110c5d3944 100644 --- a/akka-docs/java/routing.rst +++ b/akka-docs/java/routing.rst @@ -123,6 +123,12 @@ Another potentially useful approach is to give the router the same strategy as its parent, which effectively treats all actors in the pool as if they were direct children of their grand-parent instead. +.. note:: + + If the child of a router terminates, the router will not automatically spawn + a new child. In the event that all children of a router have terminated the + router will terminate itself. + Router usage ^^^^^^^^^^^^ diff --git a/akka-docs/scala/routing.rst b/akka-docs/scala/routing.rst index 1e9ac73aac..43a9066edd 100644 --- a/akka-docs/scala/routing.rst +++ b/akka-docs/scala/routing.rst @@ -124,6 +124,12 @@ Another potentially useful approach is to give the router the same strategy as its parent, which effectively treats all actors in the pool as if they were direct children of their grand-parent instead. +.. note:: + + If the child of a router terminates, the router will not automatically spawn + a new child. In the event that all children of a router have terminated the + router will terminate itself. + Router usage ^^^^^^^^^^^^