| Constructor and Description |
|---|
RetrySpecification(ErrorMap.RetryStrategy strategy,
int interval,
int after,
int maxDuration,
int ceil)
Creates a new retry specification, usually called from jackson.
|
| Modifier and Type | Method and Description |
|---|---|
long |
after() |
long |
ceil() |
long |
interval() |
long |
maxDuration() |
ErrorMap.RetryStrategy |
strategy() |
String |
toString() |
public RetrySpecification(ErrorMap.RetryStrategy strategy, int interval, int after, int maxDuration, int ceil)
strategy - the converted strategy.interval - the retry interval.after - after which time the retry should happen.maxDuration - the maximum duration of the retry.ceil - the ceiling of the retry delay.public ErrorMap.RetryStrategy strategy()
public long interval()
public long after()
public long maxDuration()
public long ceil()
Copyright © 2021 Couchbase, Inc.. All rights reserved.