Duration getRetryInterval(int retryCount) { // You could implement more sophisticated backoff strategies here return retryInterval; }