public class RetryPolicy extends Object
Constructor and Description |
---|
RetryPolicy(int maxRetries,
long retryBackoffMaxMs,
long retryBackoffMinMs) |
Modifier and Type | Method and Description |
---|---|
long |
backOffMs(int attempts) |
int |
maxRetries() |