Class SimpleRetryPolicy

java.lang.Object
ubic.gemma.core.util.SimpleRetryPolicy

public final class SimpleRetryPolicy extends Object
  • Constructor Details

    • SimpleRetryPolicy

      public SimpleRetryPolicy(int maxRetries, int retryDelayMillis, double exponentialBackoffFactor)
      Parameters:
      maxRetries - maximum number of retries
      retryDelayMillis - delay to wait after a failed attempt
      exponentialBackoffFactor - factor by which the retry delay is increased after each failed attempt
  • Method Details

    • getMaxRetries

      public int getMaxRetries()
    • getRetryDelayMillis

      public int getRetryDelayMillis()
    • getExponentialBackoffFactor

      public double getExponentialBackoffFactor()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object