com.amazonaws.services.simpleworkflow.flow.interceptors
Class RetryDecorator
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.interceptors.RetryDecorator
- All Implemented Interfaces:
- Decorator
public class RetryDecorator
- extends Object
- implements Decorator
In case of failures repeats every call to a wrapped object method according
the provided RetryPolicy.
RetryDecorator
public RetryDecorator(RetryPolicy retryPolicy,
WorkflowClock clock)
RetryDecorator
public RetryDecorator(RetryPolicy retryPolicy)
decorate
public final <V> V decorate(Class<V> interfaces,
V object)
- Specified by:
decorate in interface Decorator
decorate
public final <V> V decorate(Class<?>[] interfaces,
V object)
- Specified by:
decorate in interface Decorator
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.