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)
EventStream
eventStream()
boolean
isTerminated()
Deprecated.Use context.watch(actor) and receive Terminated(actor).ActorPath
path()
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)
-
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:
$bang
in interfaceMinimalActorRef
- Specified by:
$bang
in interfaceScalaActorRef
-
$bang$default$2
public ActorRef $bang$default$2(java.lang.Object message)
- Specified by:
$bang$default$2
in interfaceMinimalActorRef
- Specified by:
$bang$default$2
in 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:InternalActorRef
INTERNAL API: Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.- Specified by:
isTerminated
in interfaceMinimalActorRef
- Specified by:
isTerminated
in classInternalActorRef
- Returns:
- (undocumented)
-
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 classInternalActorRef
- Returns:
- (undocumented)
-
sendSystemMessage
public void sendSystemMessage(SystemMessage message)
- Specified by:
sendSystemMessage
in interfaceMinimalActorRef
- Specified by:
sendSystemMessage
in classInternalActorRef
-
specialHandle
protected boolean specialHandle(java.lang.Object msg, ActorRef sender)
-
-