Package com.hazelcast.aws.utility
Class RetryUtils
java.lang.Object
com.hazelcast.aws.utility.RetryUtils
public final class RetryUtils extends Object
Static utility class to retry operations related to connecting to AWS Services.
-
Method Details
-
retry
Callscallable.call()
until it does not throw an exception (but no more thanretries
times).Note that
callable
should be an idempotent operation which is a call to the AWS Service.If
callable
throws an unchecked exception, it is wrapped intoHazelcastException
.
-