Class FailFastRetryStrategy

  • All Implemented Interfaces:

    public class FailFastRetryStrategy
    extends Object
    implements RetryStrategy
    An internal strategy to fail fast any request that goes through it.

    This class is considered internal! For external purposes we recommend extending the BestEffortRetryStrategy and only failing on certain RetryReason as needed or based on a request context or external property. Using this strategy here directly, if not used carefully, will lead to lot of copy/pasting of try/catch blocks and not to clean code.