From 90905907c54f96b63671a517cd5a40d5437e5011 Mon Sep 17 00:00:00 2001 From: Roland Kuhn Date: Sat, 6 Apr 2013 22:32:05 +0300 Subject: [PATCH] clarify watch() idempotency (Java) --- akka-docs/rst/java/untyped-actors.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/akka-docs/rst/java/untyped-actors.rst b/akka-docs/rst/java/untyped-actors.rst index 8ae06710c3..56cad9fcc7 100644 --- a/akka-docs/rst/java/untyped-actors.rst +++ b/akka-docs/rst/java/untyped-actors.rst @@ -185,6 +185,9 @@ the whole functionality): It should be noted that the :class:`Terminated` message is generated independent of the order in which registration and termination occur. +In particular, the watching actor will receive a :class:`Terminated` message even if the +watched actor has already been terminated at the time of registration. + Registering multiple times does not necessarily lead to multiple messages being generated, but there is no guarantee that only exactly one such message is received: if termination of the watched actor has generated and queued the