Package akka.routing
Class RoutedActorRef
- java.lang.Object
-
- akka.actor.ActorRef
-
- akka.actor.InternalActorRef
-
- akka.actor.ActorRefWithCell
-
- akka.actor.RepointableActorRef
-
- akka.routing.RoutedActorRef
-
- All Implemented Interfaces:
ActorRefScope
,RepointableRef
,ScalaActorRef
,java.io.Serializable
,java.lang.Comparable<ActorRef>
,scala.Serializable
public class RoutedActorRef extends RepointableActorRef
INTERNAL APIA RoutedActorRef is an ActorRef that has a set of connected ActorRef and it uses a Router to send a message to one (or more) of these actors.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoutedActorRef(ActorSystemImpl _system, Props _routerProps, MessageDispatcher _routerDispatcher, MailboxType _routerMailbox, Props _routeeProps, InternalActorRef _supervisor, ActorPath _path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cell
newCell(UnstartedCell old)
This is called by activate() to obtain the cell which is to replace the unstarted cell.-
Methods inherited from class akka.actor.RepointableActorRef
$bang, $bang$default$2, children, dispatcher, getChild, getParent, getSingleChild, initialize, isLocal, isStarted, isTerminated, lookup, mailboxType, path, point, props, provider, restart, resume, sendSystemMessage, start, stop, supervisor, suspend, swapCell, swapLookup, system, underlying, writeReplace
-
-
-
-
Constructor Detail
-
RoutedActorRef
public RoutedActorRef(ActorSystemImpl _system, Props _routerProps, MessageDispatcher _routerDispatcher, MailboxType _routerMailbox, Props _routeeProps, InternalActorRef _supervisor, ActorPath _path)
-
-
Method Detail
-
newCell
public Cell newCell(UnstartedCell old)
Description copied from class:RepointableActorRef
This is called by activate() to obtain the cell which is to replace the unstarted cell. The cell must be fully functional.- Overrides:
newCell
in classRepointableActorRef
- Parameters:
old
- (undocumented)- Returns:
- (undocumented)
-
-