Package akka.actor
Class InternalActorRef
- java.lang.Object
-
- akka.actor.ActorRef
-
- akka.actor.InternalActorRef
-
- All Implemented Interfaces:
ScalaActorRef
,java.io.Serializable
,java.lang.Comparable<ActorRef>
- Direct Known Subclasses:
ActorRefWithCell
,EmptyLocalActorRef
,FunctionRef
,Logging.StandardOutLogger
,Nobody$
,PromiseActorRef
,RemoteActorRef
,VirtualPathContainer
public abstract class InternalActorRef extends ActorRef implements ScalaActorRef
Get a reference to the actor ref provider which created this ref.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternalActorRef()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract InternalActorRef
getChild(scala.collection.Iterator<java.lang.String> name)
Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location.abstract InternalActorRef
getParent()
Obtain parent of this ref; used by getChild for ".." paths.abstract boolean
isLocal()
Scope: if this ref points to an actor which resides within the same JVM, i.e.abstract boolean
isTerminated()
INTERNAL API: Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.abstract ActorRefProvider
provider()
Get a reference to the actor ref provider which created this ref.abstract void
restart(java.lang.Throwable cause)
abstract void
resume(java.lang.Throwable causedByFailure)
abstract void
sendSystemMessage(SystemMessage message)
abstract void
start()
abstract void
stop()
abstract void
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
-
getChild
public abstract InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location. This method shall return the end result, i.e. not only the next step in the look-up; this will typically involve recursive invocation. A path element of ".." signifies the parent, a trailing "" element must be disregarded. If the requested path does not exist, return Nobody.- Parameters:
name
- (undocumented)- Returns:
- (undocumented)
-
getParent
public abstract InternalActorRef getParent()
Obtain parent of this ref; used by getChild for ".." paths.- Returns:
- (undocumented)
-
isLocal
public abstract boolean isLocal()
Scope: if this ref points to an actor which resides within the same JVM, i.e. whose mailbox is directly reachable etc.- Returns:
- (undocumented)
-
isTerminated
public abstract boolean isTerminated()
INTERNAL API: Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.- Specified by:
isTerminated
in classActorRef
- Returns:
- (undocumented)
-
provider
public abstract ActorRefProvider provider()
Get a reference to the actor ref provider which created this ref.- Returns:
- (undocumented)
-
restart
public abstract void restart(java.lang.Throwable cause)
-
resume
public abstract void resume(java.lang.Throwable causedByFailure)
-
sendSystemMessage
public abstract void sendSystemMessage(SystemMessage message)
-
start
public abstract void start()
-
stop
public abstract void stop()
-
suspend
public abstract void suspend()
-
-