public class RetryConfig extends Object
| Constructor and Description |
|---|
RetryConfig() |
public Object getValueToRetryOn()
public void setValueToRetryOn(Object valueToRetryOn)
public Boolean shouldRetryOnValue()
public void setRetryOnValue(Boolean retryOnValue)
public Boolean isRetryOnAnyException()
public void setRetryOnAnyException(boolean retryOnAnyException)
public void setRetryOnSpecificExceptions(Set<Class<? extends Exception>> retryOnSpecificExceptions)
public Set<Class<? extends Exception>> getRetryOnAnyExceptionExcluding()
public void setRetryOnAnyExceptionExcluding(Set<Class<? extends Exception>> retryOnAnyExceptionExcluding)
public Integer getMaxNumberOfTries()
public void setMaxNumberOfTries(int maxNumberOfTries)
public Duration getDelayBetweenRetries()
public void setDelayBetweenRetries(Duration delayBetweenRetries)
public BackoffStrategy getBackoffStrategy()
public void setBackoffStrategy(BackoffStrategy backoffStrategy)
public void setCustomRetryOnLogic(Function<Exception,Boolean> customRetryOnLogic)
Copyright © 2018. All rights reserved.