Package | Description |
---|---|
com.couchbase.client.core.env | |
com.couchbase.client.core.message.observe | |
com.couchbase.client.core.retry |
Modifier and Type | Field and Description |
---|---|
static RetryStrategy |
DefaultCoreEnvironment.RETRY_STRATEGY |
Modifier and Type | Method and Description |
---|---|
RetryStrategy |
DefaultCoreEnvironment.retryStrategy() |
RetryStrategy |
CoreEnvironment.retryStrategy()
The retry strategy on how to dispatch requests in the failure case.
|
Modifier and Type | Method and Description |
---|---|
DefaultCoreEnvironment.Builder |
DefaultCoreEnvironment.Builder.retryStrategy(RetryStrategy retryStrategy)
Sets the
RetryStrategy to be used during request retries (default value is a BestEffortRetryStrategy ). |
Modifier and Type | Method and Description |
---|---|
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
MutationToken token,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy) |
static rx.Observable<Boolean> |
ObserveViaCAS.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy) |
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy) |
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
RetryStrategy retryStrategy) |
static rx.Observable<Boolean> |
ObserveViaMutationToken.call(ClusterFacade core,
String bucket,
String id,
MutationToken token,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy) |
Modifier and Type | Class and Description |
---|---|
class |
BestEffortRetryStrategy
A
RetryStrategy that will retry until the max request lifetime is reached. |
class |
FailFastRetryStrategy
A
RetryStrategy that will never retry and cancel right away. |
Copyright © 2017 Couchbase, Inc.. All rights reserved.