public class RetryConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
BackoffStrategy |
getBackoffStrategy() |
Function<Exception,Boolean> |
getCustomRetryOnLogic() |
Duration |
getDelayBetweenRetries() |
Integer |
getMaxNumberOfTries() |
Set<Class<? extends Exception>> |
getRetryOnAnyExceptionExcluding() |
Set<Class<? extends Exception>> |
getRetryOnSpecificExceptions() |
Object |
getValueToRetryOn() |
boolean |
isRetryOnAnyException() |
boolean |
shouldRetryOnCausedBy() |
boolean |
shouldRetryOnValue() |
String |
toString() |
public Object getValueToRetryOn()
public boolean shouldRetryOnValue()
public boolean isRetryOnAnyException()
public Set<Class<? extends Exception>> getRetryOnAnyExceptionExcluding()
public boolean shouldRetryOnCausedBy()
public Integer getMaxNumberOfTries()
public BackoffStrategy getBackoffStrategy()
public Duration getDelayBetweenRetries()
Copyright © 2018. All rights reserved.