Send this message to the BackoffSupervisor
and it will reply with
BackoffSupervisor.CurrentChild containing the ActorRef
of the current child, if any.
Send this message to the BackoffSupervisor
and it will reply with
BackoffSupervisor.CurrentChild containing the ActorRef
of the current child, if any.
Send this message to the BackoffSupervisor
and it will reply with
BackoffSupervisor.RestartCount containing the current restart count.
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 with withManualReset
in BackoffOptions.
Java API: Send this message to the BackoffSupervisor
and it will reply with
BackoffSupervisor.CurrentChild containing the ActorRef
of the current child, if any.
Java API: Send this message to the BackoffSupervisor
and it will reply with
BackoffSupervisor.RestartCount containing the current restart count.
Props for creating a BackoffSupervisor
actor from BackoffOnFailureOptions.
Props for creating a BackoffSupervisor
actor from BackoffOnFailureOptions.
the BackoffOnFailureOptions that specify how to construct a backoff-supervisor.
Props for creating a BackoffSupervisor
actor from BackoffOnStopOptions.
Props for creating a BackoffSupervisor
actor from BackoffOnStopOptions.
the BackoffOnStopOptions that specify how to construct a backoff-supervisor.
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 with withManualReset
in BackoffOptions.
Props for creating a BackoffSupervisor
actor from BackoffOptions.
Props for creating a BackoffSupervisor
actor from BackoffOptions.
the BackoffOptions that specify how to construct a backoff-supervisor.
(Since version 2.5.22) Use new API from BackoffOpts object instead
Props for creating a BackoffSupervisor
actor.
Props for creating a BackoffSupervisor
actor.
Exceptions in the child are handled with the default supervision strategy, i.e. most exceptions will immediately restart the child. You can define another supervision strategy by using #propsWithSupervisorStrategy.
the akka.actor.Props of the child actor that will be started and supervised
name of the child actor
minimum (initial) duration until the child actor will started again, if it is terminated
the exponential back-off is capped to this duration
after calculation of the exponential back-off an additional
random delay based on this factor is added, e.g. 0.2
adds up to 20%
delay.
In order to skip this additional delay pass in 0
.
maximum number of attempts to restart the child actor.
The supervisor will terminate itself after the maxNoOfRetries is reached.
In order to restart infinitely pass in -1
.
(Since version 2.5.22) Use props with BackoffOpts instead
Props for creating a BackoffSupervisor
actor.
Props for creating a BackoffSupervisor
actor.
Exceptions in the child are handled with the default supervision strategy, i.e. most exceptions will immediately restart the child. You can define another supervision strategy by using #propsWithSupervisorStrategy.
the akka.actor.Props of the child actor that will be started and supervised
name of the child actor
minimum (initial) duration until the child actor will started again, if it is terminated
the exponential back-off is capped to this duration
after calculation of the exponential back-off an additional
random delay based on this factor is added, e.g. 0.2
adds up to 20%
delay.
In order to skip this additional delay pass in 0
.
(Since version 2.5.22) Use props with BackoffOpts instead
Props for creating a BackoffSupervisor
actor.
Props for creating a BackoffSupervisor
actor.
Exceptions in the child are handled with the default supervision strategy, i.e. most exceptions will immediately restart the child. You can define another supervision strategy by using #propsWithSupervisorStrategy.
the akka.actor.Props of the child actor that will be started and supervised
name of the child actor
minimum (initial) duration until the child actor will started again, if it is terminated
the exponential back-off is capped to this duration
after calculation of the exponential back-off an additional
random delay based on this factor is added, e.g. 0.2
adds up to 20%
delay.
In order to skip this additional delay pass in 0
.
maximum number of attempts to restart the child actor.
The supervisor will terminate itself after the maxNoOfRetries is reached.
In order to restart infinitely pass in -1
.
(Since version 2.5.22) Use props with BackoffOpts instead
Props for creating a BackoffSupervisor
actor.
Props for creating a BackoffSupervisor
actor.
Exceptions in the child are handled with the default supervision strategy, i.e. most exceptions will immediately restart the child. You can define another supervision strategy by using #propsWithSupervisorStrategy.
the akka.actor.Props of the child actor that will be started and supervised
name of the child actor
minimum (initial) duration until the child actor will started again, if it is terminated
the exponential back-off is capped to this duration
after calculation of the exponential back-off an additional
random delay based on this factor is added, e.g. 0.2
adds up to 20%
delay.
In order to skip this additional delay pass in 0
.
(Since version 2.5.22) Use props with BackoffOpts instead
Props for creating a BackoffSupervisor
actor with a custom
supervision strategy.
Props for creating a BackoffSupervisor
actor with a custom
supervision strategy.
Exceptions in the child are handled with the given supervisionStrategy
. A
Restart
will perform a normal immediate restart of the child. A Stop
will
stop the child, but it will be started again after the back-off duration.
the akka.actor.Props of the child actor that will be started and supervised
name of the child actor
minimum (initial) duration until the child actor will started again, if it is terminated
the exponential back-off is capped to this duration
after calculation of the exponential back-off an additional
random delay based on this factor is added, e.g. 0.2
adds up to 20%
delay.
In order to skip this additional delay pass in 0
.
the supervision strategy to use for handling exceptions in the child. As the BackoffSupervisor creates a separate actor to handle the backoff process, only a OneForOneStrategy makes sense here.
(Since version 2.5.22) Use props with BackoffOpts instead
Props for creating a BackoffSupervisor
actor with a custom
supervision strategy.
Props for creating a BackoffSupervisor
actor with a custom
supervision strategy.
Exceptions in the child are handled with the given supervisionStrategy
. A
Restart
will perform a normal immediate restart of the child. A Stop
will
stop the child, but it will be started again after the back-off duration.
the akka.actor.Props of the child actor that will be started and supervised
name of the child actor
minimum (initial) duration until the child actor will started again, if it is terminated
the exponential back-off is capped to this duration
after calculation of the exponential back-off an additional
random delay based on this factor is added, e.g. 0.2
adds up to 20%
delay.
In order to skip this additional delay pass in 0
.
the supervision strategy to use for handling exceptions in the child. As the BackoffSupervisor creates a separate actor to handle the backoff process, only a OneForOneStrategy makes sense here.
(Since version 2.5.22) Use props with BackoffOpts instead