Package akka.pattern
Class BackoffSupervisor$
- java.lang.Object
-
- akka.pattern.BackoffSupervisor$
-
public class BackoffSupervisor$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static BackoffSupervisor$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description BackoffSupervisor$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackoffSupervisor.GetCurrentChild$getCurrentChild()Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.CurrentChildcontaining theActorRefof the current child, if any.BackoffSupervisor.GetRestartCount$getRestartCount()Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.RestartCountcontaining the current restart count.Propsprops(BackoffOnFailureOptions options)Props for creating aBackoffSupervisoractor fromBackoffOnFailureOptions.Propsprops(BackoffOnStopOptions options)Props for creating aBackoffSupervisoractor fromBackoffOnStopOptions.BackoffSupervisor.Reset$reset()Java API: Send this message to theBackoffSupervisorand it will reset the back-off.
-
-
-
Field Detail
-
MODULE$
public static final BackoffSupervisor$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
props
public Props props(BackoffOnStopOptions options)
Props for creating aBackoffSupervisoractor fromBackoffOnStopOptions.- Parameters:
options- theBackoffOnStopOptionsthat specify how to construct a backoff-supervisor.
-
props
public Props props(BackoffOnFailureOptions options)
Props for creating aBackoffSupervisoractor fromBackoffOnFailureOptions.- Parameters:
options- theBackoffOnFailureOptionsthat specify how to construct a backoff-supervisor.
-
getCurrentChild
public BackoffSupervisor.GetCurrentChild$ getCurrentChild()
Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.CurrentChildcontaining theActorRefof the current child, if any.
-
reset
public BackoffSupervisor.Reset$ reset()
Java API: Send this message to theBackoffSupervisorand it will reset the back-off. This should be used in conjunction withwithManualResetinBackoffOptions.
-
getRestartCount
public BackoffSupervisor.GetRestartCount$ getRestartCount()
Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.RestartCountcontaining the current restart count.
-
-