delayForRetry

fun delayForRetry(retryIndex: Int, maxRetries: Int, random: EucRandom): Long?(source)

Returns null when retryIndex has reached maxRetries; the first retry uses index 0.