public interface ClusterFacade
Represents a Couchbase Cluster.
Modifier and Type | Method and Description |
---|---|
CoreContext |
ctx()
Exposes the currently used environment.
|
long |
id()
Deprecated.
Use
ctx() which also contains the ID. |
<R extends CouchbaseResponse> |
send(CouchbaseRequest request)
Sends a
CouchbaseRequest into the cluster and eventually returns a CouchbaseResponse . |
@InterfaceStability.Committed @InterfaceAudience.Public <R extends CouchbaseResponse> rx.Observable<R> send(CouchbaseRequest request)
Sends a CouchbaseRequest
into the cluster and eventually returns a CouchbaseResponse
.
The CouchbaseResponse
is not returned directly, but is wrapped into a Observable
.
request
- the request to send.CouchbaseResponse
wrapped into a Observable
.@Deprecated long id()
ctx()
which also contains the ID.The core id is unique per core instance.
CoreContext ctx()
Exposes the currently used environment.
Copyright © 2018 Couchbase, Inc.. All rights reserved.