Class NoBackOffPolicy
java.lang.Object
org.springframework.retry.backoff.StatelessBackOffPolicy
org.springframework.retry.backoff.NoBackOffPolicy
- All Implemented Interfaces:
BackOffPolicy
Implementation of
BackOffPolicy
that performs a no-op and as such all retry
operation in a given set proceed one after the other with no pause.- Since:
- 2.1
- Author:
- Rob Harrop
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.retry.backoff.StatelessBackOffPolicy
backOff, start
-
Constructor Details
-
NoBackOffPolicy
public NoBackOffPolicy()
-
-
Method Details
-
doBackOff
Description copied from class:StatelessBackOffPolicy
Sub-classes should implement this method to perform the actual back off.- Specified by:
doBackOff
in classStatelessBackOffPolicy
- Throws:
BackOffInterruptedException
- if the backoff is interrupted
-
toString
-