Class BackoffStrategy
- java.lang.Object
-
- migratedb.v1.core.internal.strategy.BackoffStrategy
-
public class BackoffStrategy extends Object
-
-
Constructor Summary
Constructors Constructor Description BackoffStrategy(int initial, int exponent, int interval)Constructs an exponential backoff counter.
-
-
-
Constructor Detail
-
BackoffStrategy
public BackoffStrategy(int initial, int exponent, int interval)Constructs an exponential backoff counter.- Parameters:
initial- The initial integer to start the counter withexponent- The exponent by which to increase the counter value with on each call tonext()interval- The maximum time between retries in seconds
-
-