Class OldViewService
java.lang.Object
com.couchbase.client.core.state.AbstractStateMachine<LifecycleState>
com.couchbase.client.core.service.AbstractDynamicService
com.couchbase.client.core.service.AbstractPoolingService
com.couchbase.client.core.service.OldViewService
- All Implemented Interfaces:
Service
,Stateful<LifecycleState>
The
ViewService
is composed of and manages ViewEndpoint
s.- Since:
- 1.0
- Author:
- Michael Nitschinger
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.service.Service
Service.EndpointFactory
-
Constructor Summary
ConstructorsConstructorDescriptionOldViewService
(String hostname, String bucket, String password, int port, CoreContext ctx) Deprecated.OldViewService
(String hostname, String bucket, String username, String password, int port, CoreContext ctx) Creates a newViewService
. -
Method Summary
Methods inherited from class com.couchbase.client.core.service.AbstractPoolingService
dispatch
Methods inherited from class com.couchbase.client.core.service.AbstractDynamicService
connect, createEndpoint, diagnostics, disconnect, 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 Details
-
OldViewService
@Deprecated public OldViewService(String hostname, String bucket, String password, int port, CoreContext ctx) Deprecated.Creates a newViewService
.- Parameters:
hostname
- the hostname of the service.bucket
- the name of the bucket.password
- the password of the bucket.port
- the port of the service.ctx
- the core context.
-
OldViewService
public OldViewService(String hostname, String bucket, String username, String password, int port, CoreContext ctx) Creates a newViewService
.- Parameters:
hostname
- the hostname of the service.bucket
- the name of the bucket.username
- the user authorized for bucket access.password
- the password of the user.port
- the port of the service.ctx
- the core context.
-
-
Method Details