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 theBackoffSupervisor
and it will reply withBackoffSupervisor.CurrentChild
containing theActorRef
of the current child, if any.BackoffSupervisor.GetRestartCount$
getRestartCount()
Java API: Send this message to theBackoffSupervisor
and it will reply withBackoffSupervisor.RestartCount
containing the current restart count.Props
props(BackoffOnFailureOptions options)
Props for creating aBackoffSupervisor
actor fromBackoffOnFailureOptions
.Props
props(BackoffOnStopOptions options)
Props for creating aBackoffSupervisor
actor fromBackoffOnStopOptions
.BackoffSupervisor.Reset$
reset()
Java API: Send this message to theBackoffSupervisor
and 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 aBackoffSupervisor
actor fromBackoffOnStopOptions
.- Parameters:
options
- theBackoffOnStopOptions
that specify how to construct a backoff-supervisor.
-
props
public Props props(BackoffOnFailureOptions options)
Props for creating aBackoffSupervisor
actor fromBackoffOnFailureOptions
.- Parameters:
options
- theBackoffOnFailureOptions
that specify how to construct a backoff-supervisor.
-
getCurrentChild
public BackoffSupervisor.GetCurrentChild$ getCurrentChild()
Java API: Send this message to theBackoffSupervisor
and it will reply withBackoffSupervisor.CurrentChild
containing theActorRef
of the current child, if any.
-
reset
public BackoffSupervisor.Reset$ reset()
Java API: Send this message to theBackoffSupervisor
and it will reset the back-off. This should be used in conjunction withwithManualReset
inBackoffOptions
.
-
getRestartCount
public BackoffSupervisor.GetRestartCount$ getRestartCount()
Java API: Send this message to theBackoffSupervisor
and it will reply withBackoffSupervisor.RestartCount
containing the current restart count.
-
-