public abstract class RetryPolicyBase extends Object implements RetryPolicy
Constructor and Description |
---|
RetryPolicyBase() |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends Throwable>> |
getExceptionsToExclude() |
List<Class<? extends Throwable>> |
getExceptionsToRetry() |
boolean |
isRetryable(Throwable failure) |
void |
setExceptionsToExclude(List<Class<? extends Throwable>> exceptionsToExclude) |
void |
setExceptionsToRetry(List<Class<? extends Throwable>> exceptionsToRetry) |
RetryPolicyBase |
withExceptionsToExclude(Collection<Class<? extends Throwable>> exceptionsToExclude) |
RetryPolicyBase |
withExceptionsToRetry(Collection<Class<? extends Throwable>> exceptionsToRetry) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nextRetryDelaySeconds
public void setExceptionsToRetry(List<Class<? extends Throwable>> exceptionsToRetry)
public RetryPolicyBase withExceptionsToRetry(Collection<Class<? extends Throwable>> exceptionsToRetry)
public void setExceptionsToExclude(List<Class<? extends Throwable>> exceptionsToExclude)
public RetryPolicyBase withExceptionsToExclude(Collection<Class<? extends Throwable>> exceptionsToExclude)
public boolean isRetryable(Throwable failure)
isRetryable
in interface RetryPolicy
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.