Package tech.ydb.yoj.util.retry
Class FixedDelayRetryPolicy
java.lang.Object
tech.ydb.yoj.util.retry.FixedDelayRetryPolicy
- All Implemented Interfaces:
RetryPolicy
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FixedDelayRetryPolicy
public FixedDelayRetryPolicy()
-
-
Method Details
-
calcDuration
- Specified by:
calcDurationin interfaceRetryPolicy- Parameters:
attempt- failed attempt number, counting from 1- Returns:
- recommended retry interval
-
isSameAs
- Specified by:
isSameAsin interfaceRetryPolicy
-