Package akka.actor
Class IgnoreActorRef
- java.lang.Object
-
- akka.actor.ActorRef
-
- akka.actor.InternalActorRef
-
- akka.actor.IgnoreActorRef
-
- All Implemented Interfaces:
ActorRefScope
,LocalRef
,MinimalActorRef
,ScalaActorRef
,java.io.Serializable
,java.lang.Comparable<ActorRef>
public final class IgnoreActorRef extends InternalActorRef implements MinimalActorRef
An ActorRef that ignores any incoming messages.INTERNAL API
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IgnoreActorRef(ActorRefProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isIgnoreRefPath(ActorPath otherPath)
Check if the passedotherPath
is the same as IgnoreActorRef.pathstatic boolean
isIgnoreRefPath(java.lang.String otherPath)
Check if the passedotherPath
is the same as IgnoreActorRef.pathActorPath
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.protected java.lang.Object
writeReplace()
-
Methods inherited from class akka.actor.InternalActorRef
getChild, getParent, isLocal, isTemporaryRef, isTerminated, restart, resume, sendSystemMessage, start, stop, suspend
-
Methods inherited from class akka.actor.ActorRef
$bang, $bang$default$2, 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
$bang, $bang$default$2, getChild, getParent, isTerminated, restart, resume, sendSystemMessage, start, stop, suspend
-
Methods inherited from interface akka.actor.ScalaActorRef
$bang, $bang$default$2
-
-
-
-
Constructor Detail
-
IgnoreActorRef
public IgnoreActorRef(ActorRefProvider provider)
-
-
Method Detail
-
isIgnoreRefPath
public static boolean isIgnoreRefPath(java.lang.String otherPath)
Check if the passedotherPath
is the same as IgnoreActorRef.path
-
isIgnoreRefPath
public static boolean isIgnoreRefPath(ActorPath otherPath)
Check if the passedotherPath
is the same as IgnoreActorRef.path
-
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
-
path
public ActorPath path()
Description copied from class:ActorRef
Returns the path for this actor (from this actor up to the root actor).
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
- Specified by:
writeReplace
in interfaceMinimalActorRef
- Throws:
java.io.ObjectStreamException
-
-