public final class Terminated extends java.lang.Object implements Signal, scala.Product, scala.Serializable
ActorContext
watch
method. The DeathWatch service is
idempotent, meaning that registering twice has the same effect as registering
once. Registration does not need to happen before the Actor terminates, a
notification is guaranteed to arrive after both registration and termination
have occurred. Termination of a remote Actor can also be effected by declaring
the Actor’s home system as failed (e.g. as a result of being unreachable).Constructor and Description |
---|
Terminated(ActorRef<scala.runtime.Nothing$> ref,
java.lang.Throwable failed) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
abstract static boolean |
equals(java.lang.Object that) |
java.lang.Throwable |
failure() |
scala.Option<java.lang.Throwable> |
failureOption() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
ActorRef<scala.runtime.Nothing$> |
ref() |
boolean |
wasFailed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Terminated(ActorRef<scala.runtime.Nothing$> ref, java.lang.Throwable failed)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public ActorRef<scala.runtime.Nothing$> ref()
public boolean wasFailed()
public java.lang.Throwable failure()
public scala.Option<java.lang.Throwable> failureOption()