public abstract class AbstractOnDemandService extends AbstractDynamicService
Abstract implementation of a service which enables and disables endpoints on demand.
Service.EndpointFactory
Modifier | Constructor and Description |
---|---|
protected |
AbstractOnDemandService(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer,
Service.EndpointFactory endpointFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(CouchbaseRequest request) |
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
protected AbstractOnDemandService(String hostname, String bucket, String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer, Service.EndpointFactory endpointFactory)
protected void dispatch(CouchbaseRequest request)
dispatch
in class AbstractDynamicService
Copyright © 2017 Couchbase, Inc.. All rights reserved.