public class CouchbaseCore extends java.lang.Object implements ClusterFacade
The general implementation of a ClusterFacade
.
Constructor and Description |
---|
CouchbaseCore()
Creates a new
CouchbaseCore . |
CouchbaseCore(CoreEnvironment environment)
Creates a new
CouchbaseCore . |
Modifier and Type | Method and Description |
---|---|
<R extends CouchbaseResponse> |
send(CouchbaseRequest request)
Sends a
CouchbaseRequest into the cluster and eventually returns a CouchbaseResponse . |
public CouchbaseCore()
Creates a new CouchbaseCore
.
public CouchbaseCore(CoreEnvironment environment)
Creates a new CouchbaseCore
.
public <R extends CouchbaseResponse> rx.Observable<R> send(CouchbaseRequest request)
ClusterFacade
Sends a CouchbaseRequest
into the cluster and eventually returns a CouchbaseResponse
.
The CouchbaseResponse
is not returned directly, but is wrapped into a Observable
.
send
in interface ClusterFacade
request
- the request to send.CouchbaseResponse
wrapped into a Observable
.