Interface BackOff
- All Known Implementing Classes:
ExponentialBackOff
public interface BackOff
- Version:
- 1.0 Interface for backoff retries
- Author:
- Calvin
-
Method Summary
Modifier and TypeMethodDescriptionlongspecify the next backoff interval in millisecondsvoidreset()Should be able to reset to the starting
-
Method Details
-
reset
void reset()Should be able to reset to the starting -
nextBackOffMillis
long nextBackOffMillis()specify the next backoff interval in milliseconds
-