public static class RetryCounter.ExponentialBackoffPolicy extends RetryCounter.BackoffPolicy
Constructor and Description |
---|
ExponentialBackoffPolicy() |
Modifier and Type | Method and Description |
---|---|
long |
getBackoffTime(RetryCounter.RetryConfig config,
int attempts) |
public ExponentialBackoffPolicy()
public long getBackoffTime(RetryCounter.RetryConfig config, int attempts)
getBackoffTime
in class RetryCounter.BackoffPolicy
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.