Class QueryEndpoint
java.lang.Object
com.couchbase.client.core.endpoint.BaseEndpoint
com.couchbase.client.core.endpoint.QueryEndpoint
- All Implemented Interfaces:
Endpoint
,Stateful<EndpointState>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Instruct thisEndpoint
to disconnect.void
Called from the event loop handlers to mark a request as being completed.protected PipelineInitializer
Returns the initialize which adds endpoint-specific handlers to the pipeline.Methods inherited from class com.couchbase.client.core.endpoint.BaseEndpoint
channelFutureIntoMono, connect, context, decrementOutstandingRequests, diagnostics, freeToWrite, internalDiagnostics, lastConnectAttemptFailure, lastConnectedAt, lastResponseReceived, notifyChannelInactive, outstandingRequests, pipelined, receivedDisconnectSignal, remoteAddress, remoteHostname, remotePort, send, state, states
-
Constructor Details
-
QueryEndpoint
-
-
Method Details
-
pipelineInitializer
Description copied from class:BaseEndpoint
Returns the initialize which adds endpoint-specific handlers to the pipeline.- Specified by:
pipelineInitializer
in classBaseEndpoint
-
disconnect
public void disconnect()Description copied from interface:Endpoint
Instruct thisEndpoint
to disconnect.This method is async and will return immediately. Use the other methods available to inspect the current state of the endpoint, signaling potential successful disconnection attempts.
- Specified by:
disconnect
in interfaceEndpoint
- Overrides:
disconnect
in classBaseEndpoint
-
markRequestCompletion
Description copied from class:BaseEndpoint
Called from the event loop handlers to mark a request as being completed.We need to make this call explicitly from the outside and cannot just listen on the request response callback because with streaming responses the actual completion might happen much later.
- Overrides:
markRequestCompletion
in classBaseEndpoint
-