sealed class Terminated extends Signal

Lifecycle signal that is fired when an Actor that was watched has terminated. Watching is performed by invoking the akka.actor.typed.scaladsl.ActorContext.watch. 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. This message is also sent when the watched actor is on a node that has been removed from the cluster when using Akka Cluster.

Annotations
@DoNotInherit()
Source
MessageAndSignals.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Terminated
  2. Signal
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Terminated(ref: [Nothing])

    ref

    Scala API: the ActorRef for the terminated actor

Value Members

  1. def equals(obj: Any): Boolean
    Definition Classes
    Terminated → AnyRef → Any
  2. def getRef(): [Void]

    Java API: The actor that was watched and got terminated

  3. def hashCode(): Int
    Definition Classes
    Terminated → AnyRef → Any
  4. val ref: [Nothing]
  5. def toString(): String
    Definition Classes
    Terminated → AnyRef → Any