nextRetryState

open fun nextRetryState(retrySpec: IRetrySpec, retries: Int, retryAt: Long = System.currentTimeMillis()): RetryState