Documentation

RetryStrategy

The built-in strategies a key/value operation can use to retry a request, for example one on a locked document. Not-my-vbucket and outdated-collection responses are retried under either.

Tags
since
4.6.0

Table of Contents

BEST_EFFORT  = "bestEffort"
Retry with backoff until the operation times out. Requests without a strategy use this one.
FAIL_FAST  = "failFast"
Fail on the first retryable response. A mutation on a locked document throws DocumentLockedException at once. Any other declined retry throws the exception the response maps to over couchbase://, such as TemporaryFailureException, and RequestCanceledException over couchbase2://.

Constants

BEST_EFFORT

Retry with backoff until the operation times out. Requests without a strategy use this one.

public mixed BEST_EFFORT = "bestEffort"

FAIL_FAST

Fail on the first retryable response. A mutation on a locked document throws DocumentLockedException at once. Any other declined retry throws the exception the response maps to over couchbase://, such as TemporaryFailureException, and RequestCanceledException over couchbase2://.

public mixed FAIL_FAST = "failFast"

        

Search results