public interface RetryStrategy
Base interface for all RetryStrategy
implementations.
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetry(CouchbaseRequest request,
CoreEnvironment environment)
Decides whether the given
CouchbaseRequest should be retried or cancelled. |
boolean shouldRetry(CouchbaseRequest request, CoreEnvironment environment)
Decides whether the given CouchbaseRequest
should be retried or cancelled.
request
- the request in question.Copyright © 2014 Couchbase, Inc.