public final class RetryUtils extends Object
Static utility class to retry operations related to connecting to AWS Services.
public static <T> T retry(Callable<T> callable, int retries)Calls
callable.call()until it does not throw an exception (but no more than
callableshould be an idempotent operation which is a call to the AWS Service.
callablethrows an unchecked exception, it is wrapped into