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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInstruct thisEndpointto disconnect.voidCalled from the event loop handlers to mark a request as being completed.protected PipelineInitializerReturns 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:BaseEndpointReturns the initialize which adds endpoint-specific handlers to the pipeline.- Specified by:
pipelineInitializerin classBaseEndpoint
-
disconnect
public void disconnect()Description copied from interface:EndpointInstruct thisEndpointto 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:
disconnectin interfaceEndpoint- Overrides:
disconnectin classBaseEndpoint
-
markRequestCompletion
Description copied from class:BaseEndpointCalled 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:
markRequestCompletionin classBaseEndpoint
-