public class ViewEndpoint extends AbstractEndpoint
This endpoint defines the pipeline for binary requests and responses.
Constructor and Description |
---|
ViewEndpoint(String hostname,
String bucket,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Deprecated.
|
ViewEndpoint(String hostname,
String bucket,
String username,
String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
customEndpointHandlers(ChannelPipeline pipeline)
Add custom endpoint handlers to the
ChannelPipeline . |
bucket, connect, connect, disconnect, doConnect, environment, healthCheck, isFree, lastResponse, logIdent, notifyChannelInactive, notifyResponseDecoded, password, 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 ViewEndpoint(String hostname, String bucket, String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
public ViewEndpoint(String hostname, String bucket, String username, String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
protected void customEndpointHandlers(ChannelPipeline pipeline)
AbstractEndpoint
Add custom endpoint handlers to the 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 © 2017 Couchbase, Inc.. All rights reserved.