|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.actor.ActorRef akka.actor.InternalActorRef akka.pattern.PromiseActorRef
public final class PromiseActorRef
Akka private optimized representation of the temporary actor spawned to receive the reply to an "ask" operation.
INTERNAL API
Method Summary | |
---|---|
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()
|
Methods inherited from class akka.actor.InternalActorRef |
---|
getChild, isLocal, restart, resume, start, suspend |
Methods inherited from class akka.actor.ActorRef |
---|
compareTo, equals, forward, hashCode, noSender, tell, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface akka.actor.MinimalActorRef |
---|
getChild, restart, resume, start, suspend, writeReplace |
Methods inherited from interface akka.actor.LocalRef |
---|
isLocal |
Method Detail |
---|
public static PromiseActorRef apply(ActorRefProvider provider, Timeout timeout, java.lang.String targetName)
public ActorRefProvider provider()
InternalActorRef
provider
in class InternalActorRef
public scala.concurrent.Promise<java.lang.Object> result()
public InternalActorRef getParent()
InternalActorRef
getParent
in interface MinimalActorRef
getParent
in class InternalActorRef
public scala.concurrent.ExecutionContext internalCallingThreadExecutionContext()
public ActorPath path()
path
in class ActorRef
public void sendSystemMessage(SystemMessage message)
sendSystemMessage
in interface MinimalActorRef
sendSystemMessage
in class InternalActorRef
public boolean isTerminated()
InternalActorRef
isTerminated
in interface MinimalActorRef
isTerminated
in class InternalActorRef
public void stop()
stop
in interface MinimalActorRef
stop
in class InternalActorRef
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |