public interface Node extends Stateful<LifecycleState>
Represents a Couchbase Node.
Modifier and Type | Method and Description |
---|---|
rx.Observable<Service> |
addService(AddServiceRequest request) |
rx.Observable<LifecycleState> |
connect()
Connects all currently enabled
Service s. |
rx.Observable<LifecycleState> |
disconnect()
Disconnects all currently enabled
Service s. |
java.net.InetAddress |
hostname()
Returns the configured hostname for the
Node . |
rx.Observable<Service> |
removeService(RemoveServiceRequest request) |
void |
send(CouchbaseRequest request)
Sends a
CouchbaseRequest into the node and eventually returns a CouchbaseResponse . |
void send(CouchbaseRequest request)
Sends a CouchbaseRequest
into the node and eventually returns a CouchbaseResponse
.
The CouchbaseResponse
is not returned directly, but is wrapped into a Observable
.
request
- the request to send.java.net.InetAddress hostname()
Returns the configured hostname for the Node
.
rx.Observable<LifecycleState> connect()
Connects all currently enabled Service
s.
rx.Observable<LifecycleState> disconnect()
Disconnects all currently enabled Service
s.
rx.Observable<Service> addService(AddServiceRequest request)
rx.Observable<Service> removeService(RemoveServiceRequest request)