backoff Delay Millis
Computes the exponential backoff delay for a given retry attempt, capped at maxDelayMillis.
Return
The delay in milliseconds before the next retry.
Parameters
retry Attempt
The 1-based retry attempt number.
Throws
Illegal Argument Exception
if retryAttempt is less than 1.