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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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.