public class EmptyLocalActorRef extends InternalActorRef implements MinimalActorRef
INTERNAL API
| Constructor and Description |
|---|
EmptyLocalActorRef(ActorRefProvider provider,
ActorPath path,
EventStream eventStream) |
| Modifier and Type | Method and Description |
|---|---|
EventStream |
eventStream() |
boolean |
isTerminated()
Deprecated.
Use context.watch(actor) and receive Terminated(actor). Since 2.2.
|
ActorPath |
path()
Returns the path for this actor (from this actor up to the root actor).
|
ActorRefProvider |
provider()
Get a reference to the actor ref provider which created this ref.
|
void |
sendSystemMessage(SystemMessage message) |
protected boolean |
specialHandle(java.lang.Object msg,
ActorRef sender) |
getChild, getParent, isLocal, restart, resume, start, stop, suspendcompareTo, equals, forward, hashCode, noSender, tell, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChild, getParent, restart, resume, start, stop, suspend, writeReplacepublic EmptyLocalActorRef(ActorRefProvider provider, ActorPath path, EventStream eventStream)
public ActorRefProvider provider()
InternalActorRefprovider in class InternalActorRefpublic ActorPath path()
ActorRefpublic EventStream eventStream()
public boolean isTerminated()
InternalActorRefisTerminated in interface MinimalActorRefisTerminated in class InternalActorRefpublic void sendSystemMessage(SystemMessage message)
sendSystemMessage in interface MinimalActorRefsendSystemMessage in class InternalActorRefprotected boolean specialHandle(java.lang.Object msg,
ActorRef sender)