Package org.springframework.util.backoff
Interface BackOffExecution
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represent a particular back-off execution.
Implementations do not need to be thread safe.
- Since:
- 4.1
- Author:
- Stephane Nicoll
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
Return value ofnextBackOff()
that indicates that the operation should not be retried. -
Method Summary
Modifier and TypeMethodDescriptionlong
-
Field Details
-
STOP
static final long STOPReturn value ofnextBackOff()
that indicates that the operation should not be retried.- See Also:
-
-
Method Details
-
nextBackOff
long nextBackOff()
-