Interface RetryOperationsFactory


public interface RetryOperationsFactory
Factory for programmatic retry operations.
Since:
5.0.0
Author:
graemerocher
  • Method Details

    • create

      static RetryOperationsFactory create(ScheduledExecutorService executorService)
      Creates a retry operations factory backed by the given scheduler.
      Parameters:
      executorService - The scheduler used for delayed retries
      Returns:
      A retry operations factory
    • createRetryOperations

      RetryOperations createRetryOperations(RetryPolicy retryPolicy)
      Creates reusable retry operations for the given policy.
      Parameters:
      retryPolicy - The retry policy to apply
      Returns:
      Reusable retry operations