Package | Description |
---|---|
com.couchbase.client.java | |
com.couchbase.client.java.bucket | |
com.couchbase.client.java.repository |
Modifier and Type | Method and Description |
---|---|
static ReplicaMode |
ReplicaMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicaMode[] |
ReplicaMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<D extends Document<?>> |
CouchbaseBucket.getFromReplica(D document,
ReplicaMode type) |
<D extends Document<?>> |
CouchbaseAsyncBucket.getFromReplica(D document,
ReplicaMode type) |
<D extends Document<?>> |
Bucket.getFromReplica(D document,
ReplicaMode type)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID with the default timeout. |
<D extends Document<?>> |
AsyncBucket.getFromReplica(D document,
ReplicaMode type)
Retrieves one or more, possibly stale, representations of a
Document by its unique ID. |
<D extends Document<?>> |
CouchbaseBucket.getFromReplica(D document,
ReplicaMode type,
long timeout,
TimeUnit timeUnit) |
<D extends Document<?>> |
Bucket.getFromReplica(D document,
ReplicaMode type,
long timeout,
TimeUnit timeUnit)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID with a custom timeout. |
List<JsonDocument> |
CouchbaseBucket.getFromReplica(String id,
ReplicaMode type) |
rx.Observable<JsonDocument> |
CouchbaseAsyncBucket.getFromReplica(String id,
ReplicaMode type) |
List<JsonDocument> |
Bucket.getFromReplica(String id,
ReplicaMode type)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID with the default timeout. |
rx.Observable<JsonDocument> |
AsyncBucket.getFromReplica(String id,
ReplicaMode type)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID. |
<D extends Document<?>> |
CouchbaseBucket.getFromReplica(String id,
ReplicaMode type,
Class<D> target) |
<D extends Document<?>> |
CouchbaseAsyncBucket.getFromReplica(String id,
ReplicaMode type,
Class<D> target) |
<D extends Document<?>> |
Bucket.getFromReplica(String id,
ReplicaMode type,
Class<D> target)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID with the default timeout. |
<D extends Document<?>> |
AsyncBucket.getFromReplica(String id,
ReplicaMode type,
Class<D> target)
Retrieves one or more, possibly stale, representations of a
Document by its unique ID. |
<D extends Document<?>> |
CouchbaseBucket.getFromReplica(String id,
ReplicaMode type,
Class<D> target,
long timeout,
TimeUnit timeUnit) |
<D extends Document<?>> |
Bucket.getFromReplica(String id,
ReplicaMode type,
Class<D> target,
long timeout,
TimeUnit timeUnit)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID with a custom timeout. |
List<JsonDocument> |
CouchbaseBucket.getFromReplica(String id,
ReplicaMode type,
long timeout,
TimeUnit timeUnit) |
List<JsonDocument> |
Bucket.getFromReplica(String id,
ReplicaMode type,
long timeout,
TimeUnit timeUnit)
Retrieves one or more, possibly stale, representations of a
JsonDocument by its unique ID with a custom timeout. |
Modifier and Type | Method and Description |
---|---|
static rx.Observable<GetResponse> |
ReplicaReader.read(ClusterFacade core,
String id,
ReplicaMode type,
String bucket)
Perform replica reads to as many nodes a possible based on the given
ReplicaMode . |
Modifier and Type | Method and Description |
---|---|
<T> List<EntityDocument<T>> |
Repository.getFromReplica(String id,
ReplicaMode type,
Class<T> entityClass) |
<T> List<EntityDocument<T>> |
CouchbaseRepository.getFromReplica(String id,
ReplicaMode type,
Class<T> entityClass) |
<T> rx.Observable<EntityDocument<T>> |
CouchbaseAsyncRepository.getFromReplica(String id,
ReplicaMode type,
Class<T> entityClass) |
<T> rx.Observable<EntityDocument<T>> |
AsyncRepository.getFromReplica(String id,
ReplicaMode type,
Class<T> entityClass) |
<T> List<EntityDocument<T>> |
Repository.getFromReplica(String id,
ReplicaMode type,
Class<T> entityClass,
long timeout,
TimeUnit timeUnit) |
<T> List<EntityDocument<T>> |
CouchbaseRepository.getFromReplica(String id,
ReplicaMode type,
Class<T> entityClass,
long timeout,
TimeUnit timeUnit) |
Copyright © 2015 Couchbase, Inc.