Package akka.pattern
Class BackoffSupervisor
- java.lang.Object
 - 
- akka.pattern.BackoffSupervisor
 
 
- 
public class BackoffSupervisor extends java.lang.Object 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBackoffSupervisor.CurrentChildSend this message to theBackoffSupervisorand it will reply withBackoffSupervisor.CurrentChildcontaining theActorRefof the current child, if any.static classBackoffSupervisor.CurrentChild$static classBackoffSupervisor.GetCurrentChild$Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.CurrentChildcontaining theActorRefof the current child, if any.static classBackoffSupervisor.GetRestartCount$Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.RestartCountcontaining the current restart count.static classBackoffSupervisor.Reset$Send this message to theBackoffSupervisorand it will reset the back-off.static classBackoffSupervisor.ResetRestartCount$static classBackoffSupervisor.RestartCountstatic classBackoffSupervisor.RestartCount$static classBackoffSupervisor.StartChild$INTERNAL API 
- 
Constructor Summary
Constructors Constructor Description BackoffSupervisor() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackoffSupervisor.GetCurrentChild$getCurrentChild()Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.CurrentChildcontaining theActorRefof the current child, if any.static BackoffSupervisor.GetRestartCount$getRestartCount()Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.RestartCountcontaining the current restart count.static Propsprops(BackoffOnFailureOptions options)Props for creating aBackoffSupervisoractor fromBackoffOnFailureOptions.static Propsprops(BackoffOnStopOptions options)Props for creating aBackoffSupervisoractor fromBackoffOnStopOptions.static BackoffSupervisor.Reset$reset()Java API: Send this message to theBackoffSupervisorand it will reset the back-off. 
 - 
 
- 
- 
Method Detail
- 
props
public static Props props(BackoffOnStopOptions options)
Props for creating aBackoffSupervisoractor fromBackoffOnStopOptions.- Parameters:
 options- theBackoffOnStopOptionsthat specify how to construct a backoff-supervisor.
 
- 
props
public static Props props(BackoffOnFailureOptions options)
Props for creating aBackoffSupervisoractor fromBackoffOnFailureOptions.- Parameters:
 options- theBackoffOnFailureOptionsthat specify how to construct a backoff-supervisor.
 
- 
getCurrentChild
public static BackoffSupervisor.GetCurrentChild$ getCurrentChild()
Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.CurrentChildcontaining theActorRefof the current child, if any. 
- 
reset
public static 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 static BackoffSupervisor.GetRestartCount$ getRestartCount()
Java API: Send this message to theBackoffSupervisorand it will reply withBackoffSupervisor.RestartCountcontaining the current restart count. 
 - 
 
 -