Class RetryCaller<T,E extends Throwable>

java.lang.Object
ch.systemsx.cisd.common.api.retry.RetryCaller<T,E>

public abstract class RetryCaller<T,E extends Throwable> extends Object
  • Constructor Details

    • RetryCaller

      public RetryCaller()
    • RetryCaller

      public RetryCaller(RetryConfiguration configuration)
    • RetryCaller

      public RetryCaller(RetryConfiguration configuration, ch.ethz.sis.shared.log.classic.ISimpleLogger logger)
  • Method Details

    • call

      protected abstract T call() throws E
      Throws:
      E
    • callWithRetry

      public T callWithRetry() throws E
      Throws:
      E
    • isRetryableException

      protected boolean isRetryableException(RuntimeException e)