akka.actor

SupervisorStrategy

object SupervisorStrategy extends SupervisorStrategyLowPriorityImplicits

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SupervisorStrategy
  2. SupervisorStrategyLowPriorityImplicits
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. type CauseDirective = (Class[_ <: Throwable], Directive)

  2. type Decider = PartialFunction[Throwable, Directive]

  3. trait Directive extends AnyRef

    Attributes
    sealed
  4. type JDecider = Function[Throwable, Directive]

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. object Escalate extends Directive with Product with Serializable

    Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure.

  7. object Restart extends Directive with Product with Serializable

    Discards the old Actor instance and replaces it with a new, then resumes message processing.

  8. object Resume extends Directive with Product with Serializable

    Resumes message processing for the failed Actor

  9. object Stop extends Directive with Product with Serializable

    Stops the Actor

  10. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val defaultStrategy : SupervisorStrategy

    When supervisorStrategy is not specified for an actor this is used by default.

    When supervisorStrategy is not specified for an actor this is used by default. The child will be stopped when akka.ActorInitializationException or akka.ActorKilledException is thrown. It will be restarted for other Exception types. The error is escalated if it's a Throwable, i.e. Error.

    Attributes
    final
  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def escalate : akka.actor.SupervisorStrategy.Escalate.type

    Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure.

    Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure. Java API

  16. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. def makeDecider (func: JDecider): Decider

  21. def makeDecider (flat: Iterable[()]): Decider

    Decider builder for Iterables of cause-directive pairs, e.

    Decider builder for Iterables of cause-directive pairs, e.g. a map obtained from configuration; will sort the pairs so that the most specific type is checked before all its subtypes, allowing carving out subtrees of the Throwable hierarchy.

  22. def makeDecider (trapExit: Iterable[Class[_ <: Throwable]]): Decider

    Decider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates.

  23. def makeDecider (trapExit: Seq[Class[_ <: Throwable]]): Decider

    Decider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates.

  24. def makeDecider (trapExit: Array[Class[_]]): Decider

    Decider builder which just checks whether one of the given Throwables matches the cause and restarts, otherwise escalates.

  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def restart : akka.actor.SupervisorStrategy.Restart.type

    Discards the old Actor instance and replaces it with a new, then resumes message processing.

    Discards the old Actor instance and replaces it with a new, then resumes message processing. Java API

  29. def resume : akka.actor.SupervisorStrategy.Resume.type

    Resumes message processing for the failed Actor Java API

  30. implicit def seqCauseDirective2Decider (trapExit: Iterable[()]): Decider

    Implicit conversion from Seq of Cause-Directive pairs to a Decider.

    Implicit conversion from Seq of Cause-Directive pairs to a Decider. See makeDecider(causeDirective).

    Attributes
    implicit
    Definition Classes
    SupervisorStrategyLowPriorityImplicits
  31. implicit def seqThrowable2Decider (trapExit: Seq[Class[_ <: Throwable]]): Decider

    Implicit conversion from Seq of Throwables to a Decider.

    Implicit conversion from Seq of Throwables to a Decider. This maps the given Throwables to restarts, otherwise escalates.

    Attributes
    implicit
  32. def sort (in: Iterable[()]): Seq[()]

    Sort so that subtypes always precede their supertypes, but without obeying any order between unrelated subtypes (insert sort).

  33. def stop : akka.actor.SupervisorStrategy.Stop.type

    Stops the Actor Java API

  34. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  35. def toString (): String

    Definition Classes
    AnyRef → Any
  36. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SupervisorStrategyLowPriorityImplicits

Inherited from AnyRef

Inherited from Any