Package 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>,scala.Serializable
- 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
-
-
Constructor Summary
Constructors Constructor Description EmptyLocalActorRef(ActorRefProvider provider, ActorPath path, EventStream eventStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void$bang(java.lang.Object message, ActorRef sender)ActorRef$bang$default$2(java.lang.Object message)EventStreameventStream()booleanisTerminated()Deprecated.Use context.watch(actor) and receive Terminated(actor).ActorPathpath()ActorRefProviderprovider()Get a reference to the actor ref provider which created this ref.voidsendSystemMessage(SystemMessage message)protected booleanspecialHandle(java.lang.Object msg, ActorRef sender)-
Methods inherited from class akka.actor.InternalActorRef
getChild, getParent, isLocal, restart, resume, start, stop, 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, getParent, restart, resume, start, stop, suspend, writeReplace
-
-
-
-
Constructor Detail
-
EmptyLocalActorRef
public EmptyLocalActorRef(ActorRefProvider provider, ActorPath path, EventStream eventStream)
-
-
Method Detail
-
$bang
public void $bang(java.lang.Object message, ActorRef sender)- Specified by:
$bangin interfaceMinimalActorRef- Specified by:
$bangin interfaceScalaActorRef
-
$bang$default$2
public ActorRef $bang$default$2(java.lang.Object message)
- Specified by:
$bang$default$2in interfaceMinimalActorRef- Specified by:
$bang$default$2in interfaceScalaActorRef
-
eventStream
public EventStream eventStream()
-
isTerminated
public boolean isTerminated()
Deprecated.Use context.watch(actor) and receive Terminated(actor). Since 2.2.Description copied from class:InternalActorRefINTERNAL API: Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.- Specified by:
isTerminatedin interfaceMinimalActorRef- Specified by:
isTerminatedin classInternalActorRef- Returns:
- (undocumented)
-
provider
public ActorRefProvider provider()
Description copied from class:InternalActorRefGet a reference to the actor ref provider which created this ref.- Specified by:
providerin classInternalActorRef- Returns:
- (undocumented)
-
sendSystemMessage
public void sendSystemMessage(SystemMessage message)
- Specified by:
sendSystemMessagein interfaceMinimalActorRef- Specified by:
sendSystemMessagein classInternalActorRef
-
specialHandle
protected boolean specialHandle(java.lang.Object msg, ActorRef sender)
-
-