public interface ClusterFacade
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)
CouchbaseRequest
into the cluster and eventually returns a CouchbaseResponse
.
The CouchbaseResponse
is not returned directly, but is wrapped into a Observable
.R
- the generic response type.request
- the request to send.CouchbaseResponse
wrapped into a Observable
.@Deprecated long id()
ctx()
which also contains the ID.CoreContext ctx()
Copyright © 2019 Couchbase, Inc.. All rights reserved.