Class ScheduledRetryingExecutor<ResponseT>

    • Constructor Detail

      • ScheduledRetryingExecutor

        public ScheduledRetryingExecutor​(RetryAlgorithm<ResponseT> retryAlgorithm,
                                         ScheduledExecutorService scheduler)
        Creates a new scheduled retry executor, which will be using scheduler for actual attempts scheduling and retryAlgorithm for retrying strategy.
        Parameters:
        retryAlgorithm - retry algorithm to use
        scheduler - scheduler