Uses of Interface
io.bytestreams.exchange.core.BackoffStrategy
-
Uses of BackoffStrategy in io.bytestreams.exchange.core
Methods in io.bytestreams.exchange.core that return BackoffStrategyModifier and TypeMethodDescriptionstatic BackoffStrategyBackoffStrategy.exponential(Duration baseDelay) Returns a strategy that doubles the base delay on each attempt:baseDelay * 2^(attempt - 1).static BackoffStrategyReturns a strategy that always returns the same delay.default BackoffStrategyBackoffStrategy.withJitter(double factor) Wraps this strategy, adding random jitter up tofactor * delay.default BackoffStrategyWraps this strategy, capping the delay at the given maximum.Methods in io.bytestreams.exchange.core with parameters of type BackoffStrategyModifier and TypeMethodDescriptionResilientTransport.Builder.backoffStrategy(BackoffStrategy backoffStrategy)