public class KeyValueService extends AbstractPoolingService
Service.EndpointFactory
Constructor and Description |
---|
KeyValueService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
KeyValueService . |
Modifier and Type | Method and Description |
---|---|
ServiceType |
type()
Returns the type for the given
Service . |
dispatch
connect, createEndpoint, disconnect, endpoints, endpointStates, logIdent, mapping, send, whenState
hasSubscribers, isState, state, states, transitionState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasSubscribers, isState, state, states
public KeyValueService(String hostname, String bucket, String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new KeyValueService
.
hostname
- the hostname of the service.bucket
- the name of the bucket.password
- the password of the bucket.port
- the port of the service.env
- the shared environment.responseBuffer
- the shared response buffer.public ServiceType type()
Service
Returns the type for the given Service
.
Copyright © 2016 Couchbase, Inc.. All rights reserved.