Object/Class

akka.typed

Failed

Related Docs: class Failed | package typed

Permalink

object Failed extends Serializable

The parent of an actor decides upon the fate of a failed child actor by encapsulating its next behavior in one of the four wrappers defined within this class.

Failure responses have an associated precedence that ranks them, which is in descending importance:

Source
Behavior.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Failed
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Decision extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Escalate extends Decision with Product with Serializable

    Permalink

    The default response to a failure in a child actor is to escalate the failure, entailing that the parent actor fails as well.

    The default response to a failure in a child actor is to escalate the failure, entailing that the parent actor fails as well. This is equivalent to an exception unwinding the call stack, but it applies to the supervision hierarchy instead.

    Annotations
    @SerialVersionUID()
  5. object NoFailureResponse extends Decision with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  6. object Restart extends Decision with Product with Serializable

    Permalink

    Restarting the child actor means resetting its behavior to the initial one that was provided during its creation (i.e.

    Restarting the child actor means resetting its behavior to the initial one that was provided during its creation (i.e. the one which was passed into the Props constructor). The previously failed behavior will receive a PreRestart signal before this happens and the replacement behavior will receive a PostRestart signal afterwards.

    Annotations
    @SerialVersionUID()
  7. object Resume extends Decision with Product with Serializable

    Permalink

    Resuming the child actor means that the result of processing the message on which it failed is just ignored, the previous state will be used to process the next message.

    Resuming the child actor means that the result of processing the message on which it failed is just ignored, the previous state will be used to process the next message. The message that triggered the failure will not be processed again.

    Annotations
    @SerialVersionUID()
  8. object Stop extends Decision with Product with Serializable

    Permalink

    Stopping the child actor will free its resources and eventually (asynchronously) unregister its name from the parent.

    Stopping the child actor will free its resources and eventually (asynchronously) unregister its name from the parent. Completion of this process can be observed by watching the child actor and reacting to its Terminated signal.

    Annotations
    @SerialVersionUID()
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped