public class RetryableAction<T> extends Object
NonRetryableException are
retried. Only errors wrapped in RetryableError are retried.| Modifier and Type | Method | Description |
|---|---|---|
static <T> T |
doRetryableAction(Callable<T> callable,
RetryableParams params) |
Static method to repeatedly call action until it succeeds or the max allowed attempts is
reached.
|
public static <T> T doRetryableAction(Callable<T> callable, RetryableParams params) throws Exception
callable - Callable implementing assertion logicparams - Retry related parametersExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.