Package akka.actor
Class ActorRefWithCell
- java.lang.Object
-
- akka.actor.ActorRef
-
- akka.actor.InternalActorRef
-
- akka.actor.ActorRefWithCell
-
- All Implemented Interfaces:
ScalaActorRef
,java.io.Serializable
,java.lang.Comparable<ActorRef>
,scala.Serializable
- Direct Known Subclasses:
LocalActorRef
,RepointableActorRef
public abstract class ActorRefWithCell extends InternalActorRef
Common trait of all actor refs which actually have a Cell, most notably LocalActorRef and RepointableActorRef. The former specializes the return type ofunderlying
so that follow-up calls can use invokevirtual instead of invokeinterface.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActorRefWithCell()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract scala.collection.immutable.Iterable<ActorRef>
children()
abstract InternalActorRef
getSingleChild​(java.lang.String name)
abstract Cell
underlying()
-
Methods inherited from class akka.actor.InternalActorRef
getChild, getParent, isLocal, isTerminated, provider, restart, resume, sendSystemMessage, start, stop, suspend
-
Methods inherited from class akka.actor.ActorRef
compareTo, equals, forward, hashCode, noSender, path, tell, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.actor.ScalaActorRef
$bang, $bang$default$2
-
-
-
-
Method Detail
-
children
public abstract scala.collection.immutable.Iterable<ActorRef> children()
-
getSingleChild
public abstract InternalActorRef getSingleChild​(java.lang.String name)
-
underlying
public abstract Cell underlying()
-
-