Top Description Fields Methods
org.springframework.util.backoff

public Interface BackOffExecution

Known Direct Implementers
org.springframework.util.backoff.ExponentialBackOff.ExponentialBackOffExecution, org.springframework.util.backoff.FixedBackOff.FixedBackOffExecution
Annotations
@FunctionalInterface

Represent a particular back-off execution.

Implementations do not need to be thread safe.

Author
Stephane Nicoll
Since
4.1
See Also
BackOff

Field Summary

Modifier and TypeField and Description
public static final long
STOP

Return value of nextBackOff() that indicates that the operation should not be retried.

Method Summary

Modifier and TypeMethod and Description
public long
nextBackOff()

Return the number of milliseconds to wait before retrying the operation or STOP (-1) to indicate that no further attempt should be made for the operation.

Field Detail

STOPback to summary
public static final long STOP

Return value of nextBackOff() that indicates that the operation should not be retried.

Method Detail

nextBackOffback to summary
public long nextBackOff()

Return the number of milliseconds to wait before retrying the operation or STOP (-1) to indicate that no further attempt should be made for the operation.