public class OldQueryService extends AbstractPoolingService
QueryService
is composed of and manages QueryEndpoint
s.Service.EndpointFactory
Constructor and Description |
---|
OldQueryService(String hostname,
String bucket,
String password,
int port,
CoreContext ctx)
Deprecated.
|
OldQueryService(String hostname,
String bucket,
String username,
String password,
int port,
CoreContext ctx)
Creates a new
QueryService . |
Modifier and Type | Method and Description |
---|---|
ServiceType |
type()
Returns the type for the given
Service . |
dispatch
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
@Deprecated public OldQueryService(String hostname, String bucket, String password, int port, CoreContext ctx)
QueryService
.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.public OldQueryService(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
QueryService
.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.public ServiceType type()
Service
Service
.Copyright © 2018 Couchbase, Inc.. All rights reserved.