public final class PromiseActorRef extends InternalActorRef implements MinimalActorRef
INTERNAL API
| Modifier and Type | Method and Description |
|---|---|
static PromiseActorRef |
apply(ActorRefProvider provider,
Timeout timeout,
java.lang.String targetName) |
InternalActorRef |
getParent()
Obtain parent of this ref; used by getChild for ".." paths.
|
scala.concurrent.ExecutionContext |
internalCallingThreadExecutionContext() |
boolean |
isTerminated()
Returns “true” if the actor is locally known to be terminated, “false” if
alive or uncertain.
|
ActorPath |
path()
Contract of this method:
Must always return the same ActorPath, which must have
been registered if we haven't been stopped yet.
|
ActorRefProvider |
provider()
Get a reference to the actor ref provider which created this ref.
|
scala.concurrent.Promise<java.lang.Object> |
result() |
void |
sendSystemMessage(SystemMessage message) |
void |
stop() |
getChild, isLocal, restart, resume, start, suspendcompareTo, equals, forward, hashCode, noSender, tell, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChild, restart, resume, start, suspend, writeReplacepublic static PromiseActorRef apply(ActorRefProvider provider, Timeout timeout, java.lang.String targetName)
public ActorRefProvider provider()
InternalActorRefprovider in class InternalActorRefpublic scala.concurrent.Promise<java.lang.Object> result()
public InternalActorRef getParent()
InternalActorRefgetParent in interface MinimalActorRefgetParent in class InternalActorRefpublic scala.concurrent.ExecutionContext internalCallingThreadExecutionContext()
public ActorPath path()
public void sendSystemMessage(SystemMessage message)
sendSystemMessage in interface MinimalActorRefsendSystemMessage in class InternalActorRefpublic boolean isTerminated()
InternalActorRefisTerminated in interface MinimalActorRefisTerminated in class InternalActorRefpublic void stop()
stop in interface MinimalActorRefstop in class InternalActorRef