public class ConfigService extends AbstractService
Service.EndpointFactory
endpointStates
Constructor and Description |
---|
ConfigService(java.lang.String hostname,
java.lang.String bucket,
java.lang.String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
send(CouchbaseRequest request)
Sends a
CouchbaseRequest into the service and eventually returns a CouchbaseResponse . |
ServiceType |
type()
Returns the type for the given
Service . |
connect, disconnect, logIdent, mapping
isState, state, states, transitionState
public ConfigService(java.lang.String hostname, java.lang.String bucket, java.lang.String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
public ServiceType type()
Service
Returns the type for the given Service
.
public void send(CouchbaseRequest request)
Service
Sends a CouchbaseRequest
into the service and eventually returns a CouchbaseResponse
.
The CouchbaseResponse
is not returned directly, but is wrapped into a Observable
.
send
in interface Service
send
in class AbstractService
request
- the request to send.