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>
public class RoutedActorRef
- extends RepointableActorRef
INTERNAL API
A 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
Method Summary |
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 |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RoutedActorRef
public RoutedActorRef(ActorSystemImpl _system,
Props _routerProps,
MessageDispatcher _routerDispatcher,
MailboxType _routerMailbox,
Props _routeeProps,
InternalActorRef _supervisor,
ActorPath _path)
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 class RepointableActorRef
- Parameters:
old
- (undocumented)
- Returns:
- (undocumented)