public class KeyValueEndpoint extends AbstractEndpoint
FORCE_DNS_LOOKUP_ON_RECONNECT
Constructor and Description |
---|
KeyValueEndpoint(String hostname,
String bucket,
String password,
int port,
CoreContext ctx)
Deprecated.
|
KeyValueEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreContext ctx)
Create a new
KeyValueEndpoint . |
Modifier and Type | Method and Description |
---|---|
protected void |
customEndpointHandlers(ChannelPipeline pipeline)
Add custom endpoint handlers to the
ChannelPipeline . |
bucket, connect, connect, context, diagnostics, disconnect, doConnect, environment, isFree, lastConnectedAt, lastResponse, logIdent, notifyChannelInactive, notifyResponseDecoded, password, remoteAddress, responseBuffer, send, setLastKeepAliveLatency, signalConfigReload, username
hasSubscribers, isState, state, states, transitionState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasSubscribers, isState, state, states
@Deprecated public KeyValueEndpoint(String hostname, String bucket, String password, int port, CoreContext ctx)
KeyValueEndpoint
.hostname
- the hostname to connect on this endpoint.ctx
- the core context used.public KeyValueEndpoint(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
KeyValueEndpoint
.hostname
- the hostname to connect on this endpoint.ctx
- the core context used.protected void customEndpointHandlers(ChannelPipeline pipeline)
AbstractEndpoint
ChannelPipeline
.
This method needs to be implemented by the actual endpoint implementations to add specific handlers to
the pipeline depending on the endpoint type and intended behavior.customEndpointHandlers
in class AbstractEndpoint
pipeline
- the pipeline where to add handlers.Copyright © 2021 Couchbase, Inc.. All rights reserved.