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 username,
String password,
int port,
CoreContext ctx,
Service.EndpointFactory endpointFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(CouchbaseRequest request) |
connect, createEndpoint, diagnostics, 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 username, String password, int port, CoreContext ctx, Service.EndpointFactory endpointFactory)
protected void dispatch(CouchbaseRequest request)
dispatch
in class AbstractDynamicService
Copyright © 2018 Couchbase, Inc.. All rights reserved.