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 java.lang.Object
- implements Decorator
In case of failures repeats every call to a wrapped object method according
the provided RetryPolicy.
|
Method Summary |
|
decorate(java.lang.Class<?>[] interfaces,
V object)
|
|
decorate(java.lang.Class<V> interfaces,
V object)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryDecorator
public RetryDecorator(RetryPolicy retryPolicy,
WorkflowClock clock)
RetryDecorator
public RetryDecorator(RetryPolicy retryPolicy)
decorate
public final <V> V decorate(java.lang.Class<V> interfaces,
V object)
- Specified by:
decorate in interface Decorator
decorate
public final <V> V decorate(java.lang.Class<?>[] interfaces,
V object)
- Specified by:
decorate in interface Decorator
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.