object BackoffSupervisor
- Source
- BackoffSupervisor.scala
- Alphabetic
- By Inheritance
- BackoffSupervisor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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 theActorRef
of the current child, if any. - final case class RestartCount(count: Int) extends Product with Serializable
Value Members
- def getCurrentChild: GetCurrentChild
Java API: Send this message to the
BackoffSupervisor
and it will reply with BackoffSupervisor.CurrentChild containing theActorRef
of the current child, if any. - def getRestartCount: GetRestartCount
Java API: Send this message to the
BackoffSupervisor
and it will reply with BackoffSupervisor.RestartCount containing the current restart count. - 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.
- 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.
- 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 withwithManualReset
in BackoffOptions. - case object GetCurrentChild extends Product with Serializable
Send this message to the
BackoffSupervisor
and it will reply with BackoffSupervisor.CurrentChild containing theActorRef
of the current child, if any. - 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. - 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 withwithManualReset
in BackoffOptions.