Packages

o

akka.pattern

BackoffSupervisor

object BackoffSupervisor

Source
BackoffSupervisor.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BackoffSupervisor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class CurrentChild(ref: Option[ActorRef]) extends Product with Serializable

    Send this message to the BackoffSupervisor and it will reply with BackoffSupervisor.CurrentChild containing the ActorRef of the current child, if any.

  2. final case class RestartCount(count: Int) extends Product with Serializable

Value Members

  1. def getCurrentChild: GetCurrentChild

    Java API: Send this message to the BackoffSupervisor and it will reply with BackoffSupervisor.CurrentChild containing the ActorRef of the current child, if any.

  2. def getRestartCount: GetRestartCount

    Java API: Send this message to the BackoffSupervisor and it will reply with BackoffSupervisor.RestartCount containing the current restart count.

  3. def props(options: BackoffOnFailureOptions): Props

    Props for creating a BackoffSupervisor actor from BackoffOnFailureOptions.

    Props for creating a BackoffSupervisor actor from BackoffOnFailureOptions.

    options

    the BackoffOnFailureOptions that specify how to construct a backoff-supervisor.

  4. def props(options: BackoffOnStopOptions): Props

    Props for creating a BackoffSupervisor actor from BackoffOnStopOptions.

    Props for creating a BackoffSupervisor actor from BackoffOnStopOptions.

    options

    the BackoffOnStopOptions that specify how to construct a backoff-supervisor.

  5. def reset: Reset

    Java API: Send this message to the BackoffSupervisor and it will reset the back-off.

    Java API: Send this message to the BackoffSupervisor and it will reset the back-off. This should be used in conjunction with withManualReset in BackoffOptions.

  6. case object GetCurrentChild extends Product with Serializable

    Send this message to the BackoffSupervisor and it will reply with BackoffSupervisor.CurrentChild containing the ActorRef of the current child, if any.

  7. case object GetRestartCount extends Product with Serializable

    Send this message to the BackoffSupervisor and it will reply with BackoffSupervisor.RestartCount containing the current restart count.

  8. case object Reset extends Product with Serializable

    Send this message to the BackoffSupervisor and it will reset the back-off.

    Send this message to the BackoffSupervisor and it will reset the back-off. This should be used in conjunction with withManualReset in BackoffOptions.