Class SearchEndpoint
- java.lang.Object
-
- com.couchbase.client.core.state.AbstractStateMachine<LifecycleState>
-
- com.couchbase.client.core.endpoint.AbstractEndpoint
-
- com.couchbase.client.core.endpoint.search.SearchEndpoint
-
- All Implemented Interfaces:
Endpoint
,Stateful<LifecycleState>
public class SearchEndpoint extends AbstractEndpoint
This endpoint defines the pipeline for search requests and responses (CBFT).- Since:
- 1.2
- Author:
- Sergey Avseyev
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.core.endpoint.AbstractEndpoint
FORCE_DNS_LOOKUP_ON_RECONNECT
-
-
Constructor Summary
Constructors Constructor Description SearchEndpoint(String hostname, String bucket, String password, int port, CoreContext ctx)
Deprecated.SearchEndpoint(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 protected void
customEndpointHandlers(ChannelPipeline pipeline)
Add custom endpoint handlers to theChannelPipeline
.-
Methods inherited from class com.couchbase.client.core.endpoint.AbstractEndpoint
bucket, connect, connect, context, diagnostics, disconnect, doConnect, environment, isFree, lastResponse, logIdent, notifyChannelInactive, notifyResponseDecoded, password, remoteAddress, responseBuffer, send, setLastKeepAliveLatency, signalConfigReload, username
-
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
-
SearchEndpoint
@Deprecated public SearchEndpoint(String hostname, String bucket, String password, int port, CoreContext ctx)
Deprecated.
-
SearchEndpoint
public SearchEndpoint(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
-
-
Method Detail
-
customEndpointHandlers
protected void customEndpointHandlers(ChannelPipeline pipeline)
Description copied from class:AbstractEndpoint
Add custom endpoint handlers to theChannelPipeline
. 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.- Specified by:
customEndpointHandlers
in classAbstractEndpoint
- Parameters:
pipeline
- the pipeline where to add handlers.
-
-