Package akka.pattern

Interface BackoffOnStopOptions

    • Method Detail

      • 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<java.lang.Object,​java.lang.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.