Uses of Interface
org.springframework.retry.backoff.Sleeper
Package
Description
Infrastructure implementations of retry backoff concerns.
-
Uses of Sleeper in org.springframework.retry.annotation
Modifier and TypeMethodDescriptionvoid
AnnotationAwareRetryOperationsInterceptor.setSleeper
(Sleeper sleeper) -
Uses of Sleeper in org.springframework.retry.backoff
Modifier and TypeClassDescriptionclass
Deprecated.class
SimpleSleeper
implementation that just blocks the current Thread with sleep period.Modifier and TypeMethodDescriptionvoid
ExponentialBackOffPolicy.setSleeper
(Sleeper sleeper) Public setter for theSleeper
strategy.void
FixedBackOffPolicy.setSleeper
(Sleeper sleeper) Public setter for theSleeper
strategy.void
UniformRandomBackOffPolicy.setSleeper
(Sleeper sleeper) Public setter for theSleeper
strategy.TheSleeper
instance to be used to back off.ExponentialBackOffPolicy.withSleeper
(Sleeper sleeper) FixedBackOffPolicy.withSleeper
(Sleeper sleeper) SleepingBackOffPolicy.withSleeper
(Sleeper sleeper) Clone the policy and return a new policy which uses the passed sleeper.UniformRandomBackOffPolicy.withSleeper
(Sleeper sleeper)
ThreadWaitSleeper