akka.actor
Class EmptyLocalActorRef
java.lang.Object
akka.actor.ActorRef
akka.actor.InternalActorRef
akka.actor.EmptyLocalActorRef
- All Implemented Interfaces:
- ActorRefScope, LocalRef, MinimalActorRef, ScalaActorRef, java.io.Serializable, java.lang.Comparable<ActorRef>
- Direct Known Subclasses:
- DeadLetterActorRef
public class EmptyLocalActorRef
- extends InternalActorRef
- implements MinimalActorRef
This special dead letter reference has a name: it is that which is returned
by a local look-up which is unsuccessful.
INTERNAL API
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EmptyLocalActorRef
public EmptyLocalActorRef(ActorRefProvider provider,
ActorPath path,
EventStream eventStream)
provider
public ActorRefProvider provider()
- Description copied from class:
InternalActorRef
- Get a reference to the actor ref provider which created this ref.
- Specified by:
provider
in class InternalActorRef
- Returns:
- (undocumented)
path
public ActorPath path()
- Description copied from class:
ActorRef
- Returns the path for this actor (from this actor up to the root actor).
- Specified by:
path
in class ActorRef
- Returns:
- (undocumented)
eventStream
public EventStream eventStream()
isTerminated
public boolean isTerminated()
- Description copied from class:
InternalActorRef
- Returns “true” if the actor is locally known to be terminated, “false” if
alive or uncertain.
- Specified by:
isTerminated
in interface MinimalActorRef
- Specified by:
isTerminated
in class InternalActorRef
- Returns:
- (undocumented)
sendSystemMessage
public void sendSystemMessage(SystemMessage message)
- Specified by:
sendSystemMessage
in interface MinimalActorRef
- Specified by:
sendSystemMessage
in class InternalActorRef
specialHandle
protected boolean specialHandle(java.lang.Object msg,
ActorRef sender)