Class RetryCaller<T,​E extends java.lang.Throwable>


  • public abstract class RetryCaller<T,​E extends java.lang.Throwable>
    extends java.lang.Object
    • Constructor Detail

      • RetryCaller

        public RetryCaller()
      • RetryCaller

        public RetryCaller​(RetryConfiguration configuration,
                           ch.systemsx.cisd.common.logging.ISimpleLogger logger)
    • Method Detail

      • call

        protected abstract T call()
                           throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable
      • callWithRetry

        public T callWithRetry()
                        throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable
      • isRetryableException

        protected boolean isRetryableException​(java.lang.RuntimeException e)