Interface BackoffOnStopOptions

All Superinterfaces:
ExtendedBackoffOptions<BackoffOnStopOptions>
All Known Implementing Classes:
BackoffOnStopOptionsImpl

public interface BackoffOnStopOptions extends ExtendedBackoffOptions<BackoffOnStopOptions>
  • Method Details

    • withDefaultStoppingStrategy

      BackoffOnStopOptions withDefaultStoppingStrategy()
      Returns a new BackoffOptions with a default SupervisorStrategy.stoppingStrategy. The default supervisor strategy is used as fallback for throwables not handled by SupervisorStrategy.stoppingStrategy.
    • withFinalStopMessage

      BackoffOnStopOptions withFinalStopMessage(scala.Function1<Object,Object> isFinalStopMessage)
      Predicate evaluated for each message, if it returns true and the supervised actor is stopped then the supervisor will stop its self. If it returns true while the supervised actor is running then it will be forwarded to the supervised actor and when the supervised actor stops its self the supervisor will stop its self.