Fix javadoc reference
Method is called nextBackOff() and not nextBackOffMillis(). Closes gh-1115
This commit is contained in:
parent
5d3c0f33f6
commit
1c18100143
|
|
@ -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