Class CappedExponential
java.lang.Object
software.amazon.cloudformation.proxy.delay.CappedExponential
- All Implemented Interfaces:
Delay
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
of
-
nextDelay
Calculating accrued time as summation of all the delay based on attempt. Assumption:- attempt will not be big number.- Parameters:
attempt- , starts with 1- Returns:
- the next amount to wait for or
Duration.ZEROto indicate delay is complete
-
toString
-