Class FailFastRetryStrategy

java.lang.Object
com.couchbase.client.core.retry.FailFastRetryStrategy
All Implemented Interfaces:
RetryStrategy

@Internal 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.