private class FixedBackOff.FixedBackOffExecution extends java.lang.Object implements BackOffExecution
Modifier and Type | Field and Description |
---|---|
private long |
currentAttempts |
STOP
Modifier | Constructor and Description |
---|---|
private |
FixedBackOffExecution() |
Modifier and Type | Method and Description |
---|---|
long |
nextBackOff()
Return the number of milliseconds to wait before retrying the operation
or
BackOffExecution.STOP (-1L) to indicate that no further attempt
should be made for the operation. |
java.lang.String |
toString() |
public long nextBackOff()
BackOffExecution
BackOffExecution.STOP
(-1L) to indicate that no further attempt
should be made for the operation.nextBackOff
in interface BackOffExecution
public java.lang.String toString()
toString
in class java.lang.Object