Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.interceptors
Class RetryPolicyBase

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.interceptors.RetryPolicyBase
All Implemented Interfaces:
RetryPolicy
Direct Known Subclasses:
ExponentialRetryPolicy

public abstract class RetryPolicyBase
extends Object
implements RetryPolicy

This class is for internal use only and may be changed or removed without prior notice.


Constructor Summary
RetryPolicyBase()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.simpleworkflow.flow.interceptors.RetryPolicy
nextRetryDelaySeconds
 

Constructor Detail

RetryPolicyBase

public RetryPolicyBase()
Method Detail

getExceptionsToRetry

public List<Class<? extends Throwable>> getExceptionsToRetry()

setExceptionsToRetry

public void setExceptionsToRetry(List<Class<? extends Throwable>> exceptionsToRetry)

withExceptionsToRetry

public RetryPolicyBase withExceptionsToRetry(Collection<Class<? extends Throwable>> exceptionsToRetry)

getExceptionsToExclude

public List<Class<? extends Throwable>> getExceptionsToExclude()

setExceptionsToExclude

public void setExceptionsToExclude(List<Class<? extends Throwable>> exceptionsToExclude)

withExceptionsToExclude

public RetryPolicyBase withExceptionsToExclude(Collection<Class<? extends Throwable>> exceptionsToExclude)

isRetryable

public boolean isRetryable(Throwable failure)
Specified by:
isRetryable in interface RetryPolicy


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.