Package ubic.gemma.core.util
Class SimpleRetryPolicy
- java.lang.Object
-
- ubic.gemma.core.util.SimpleRetryPolicy
-
public class SimpleRetryPolicy extends Object
-
-
Constructor Detail
-
SimpleRetryPolicy
public SimpleRetryPolicy(int maxRetries, int retryDelayMillis, double exponentialBackoffFactor)
- Parameters:
maxRetries
- maximum number of retriesretryDelayMillis
- delay to wait after a failed attemptexponentialBackoffFactor
- factor by which the retry delay is increased after each failed attempt
-
-