From d209247b7fa94765c0bcea892f27ee9cce345ed1 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Thu, 30 Aug 2012 18:09:31 +0200 Subject: [PATCH] Clarifying in the docs that the user gets an ActorRef and not a RoutedActorRef --- akka-docs/java/routing.rst | 3 ++- akka-docs/scala/routing.rst | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/akka-docs/java/routing.rst b/akka-docs/java/routing.rst index 16858bc896..845e2825e3 100644 --- a/akka-docs/java/routing.rst +++ b/akka-docs/java/routing.rst @@ -75,7 +75,8 @@ How Routing is Designed within Akka Routers behave like single actors, but they should also not hinder scalability. This apparent contradiction is solved by making routers be represented by a -special :class:`RoutedActorRef`, which dispatches incoming messages destined +special :class:`RoutedActorRef` (implementation detail, what the user gets is +an :class:`ActorRef` as usual) which dispatches incoming messages destined for the routees without actually invoking the router actor’s behavior (and thus avoiding its mailbox; the single router actor’s task is to manage all aspects related to the lifecycle of the routees). This means that the code which decides diff --git a/akka-docs/scala/routing.rst b/akka-docs/scala/routing.rst index a0bbe37089..353e82d277 100644 --- a/akka-docs/scala/routing.rst +++ b/akka-docs/scala/routing.rst @@ -75,7 +75,8 @@ How Routing is Designed within Akka Routers behave like single actors, but they should also not hinder scalability. This apparent contradiction is solved by making routers be represented by a -special :class:`RoutedActorRef`, which dispatches incoming messages destined +special :class:`RoutedActorRef` (implementation detail, what the user gets is +an :class:`ActorRef` as usual) which dispatches incoming messages destined for the routees without actually invoking the router actor’s behavior (and thus avoiding its mailbox; the single router actor’s task is to manage all aspects related to the lifecycle of the routees). This means that the code which decides