Fix javadoc reference
Method is called nextBackOff() and not nextBackOffMillis(). Closes gh-1115
This commit is contained in:
parent
2029b6e0b7
commit
d3b051a933
|
@ -26,7 +26,7 @@ package org.springframework.util.backoff;
|
|||
* BackOffExecution exec = backOff.start();
|
||||
*
|
||||
* // In the operation recovery/retry loop:
|
||||
* long waitInterval = exec.nextBackOffMillis();
|
||||
* long waitInterval = exec.nextBackOff();
|
||||
* if (waitInterval == BackOffExecution.STOP) {
|
||||
* // do not retry operation
|
||||
* }
|
||||
|
|
Loading…
Reference in New Issue