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