Class ConfigService
- java.lang.Object
-
- com.couchbase.client.core.state.AbstractStateMachine<LifecycleState>
-
- com.couchbase.client.core.service.AbstractDynamicService
-
- com.couchbase.client.core.service.AbstractOnDemandService
-
- com.couchbase.client.core.service.ConfigService
-
- All Implemented Interfaces:
Service
,Stateful<LifecycleState>
public class ConfigService extends AbstractOnDemandService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.service.Service
Service.EndpointFactory
-
-
Constructor Summary
Constructors Constructor Description ConfigService(String hostname, String bucket, String password, int port, CoreContext ctx)
Deprecated.ConfigService(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceType
type()
Returns the type for the givenService
.-
Methods inherited from class com.couchbase.client.core.service.AbstractOnDemandService
disconnect, dispatch
-
Methods inherited from class com.couchbase.client.core.service.AbstractDynamicService
connect, createEndpoint, diagnostics, endpoints, endpointStates, logIdent, mapping, send, whenState
-
Methods inherited from class com.couchbase.client.core.state.AbstractStateMachine
hasSubscribers, isState, state, states, transitionState
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.couchbase.client.core.state.Stateful
hasSubscribers, isState, state, states
-
-
-
-
Constructor Detail
-
ConfigService
@Deprecated public ConfigService(String hostname, String bucket, String password, int port, CoreContext ctx)
Deprecated.
-
ConfigService
public ConfigService(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
-
-
Method Detail
-
type
public ServiceType type()
Description copied from interface:Service
Returns the type for the givenService
.- Returns:
- the type.
-
-