Uses of Class
com.couchbase.client.core.msg.RequestContext
-
-
Uses of RequestContext in com.couchbase.client.core.cnc
Methods in com.couchbase.client.core.cnc with parameters of type RequestContext Modifier and Type Method Description voidRequestSpan. requestContext(RequestContext requestContext)Allows to set a request context to the request span. -
Uses of RequestContext in com.couchbase.client.core.cnc.events.request
Constructors in com.couchbase.client.core.cnc.events.request with parameters of type RequestContext Constructor Description IndividualReplicaGetFailedEvent(RequestContext context)PreparedStatementRetriedEvent(Duration duration, RequestContext context, RetryReason retryReason, Throwable cause) -
Uses of RequestContext in com.couchbase.client.core.cnc.tracing
Methods in com.couchbase.client.core.cnc.tracing with parameters of type RequestContext Modifier and Type Method Description voidNoopRequestSpan. requestContext(RequestContext requestContext)voidThresholdRequestSpan. requestContext(RequestContext requestContext) -
Uses of RequestContext in com.couchbase.client.core.endpoint.http
Methods in com.couchbase.client.core.endpoint.http that return RequestContext Modifier and Type Method Description RequestContextCoreHttpResponse. requestContext()Constructors in com.couchbase.client.core.endpoint.http with parameters of type RequestContext Constructor Description CoreHttpResponse(ResponseStatus status, byte[] content, int httpStatus, HttpChannelContext channelContext, RequestContext requestContext) -
Uses of RequestContext in com.couchbase.client.core.error.context
Methods in com.couchbase.client.core.error.context that return RequestContext Modifier and Type Method Description RequestContextAnalyticsErrorContext. requestContext()RequestContextCancellationErrorContext. requestContext()Returns the underlying request context (if present) for debug reasons.RequestContextEventingErrorContext. requestContext()RequestContextManagerErrorContext. requestContext()RequestContextQueryErrorContext. requestContext()RequestContextSearchErrorContext. requestContext()RequestContextViewErrorContext. requestContext()Constructors in com.couchbase.client.core.error.context with parameters of type RequestContext Constructor Description AnalyticsErrorContext(RequestContext requestContext, List<ErrorCodeAndMessage> errors, int httpStatus)CancellationErrorContext(RequestContext requestContext)EventingErrorContext(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, Map<String,Object> responseProperties)ManagerErrorContext(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, String content)QueryErrorContext(RequestContext requestContext, List<ErrorCodeAndMessage> errors, int httpStatus)SearchErrorContext(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, String content)ViewErrorContext(ResponseStatus responseStatus, RequestContext requestContext, ViewError viewError, int httpStatus) -
Uses of RequestContext in com.couchbase.client.core.io.netty.chunk
Methods in com.couchbase.client.core.io.netty.chunk that return RequestContext Modifier and Type Method Description protected RequestContextBaseChunkResponseParser. requestContext()Methods in com.couchbase.client.core.io.netty.chunk with parameters of type RequestContext Modifier and Type Method Description voidBaseChunkResponseParser. updateRequestContext(RequestContext requestContext)voidChunkResponseParser. updateRequestContext(RequestContext requestContext)Sets the request context for the current request in the parser, can be used for error handling. -
Uses of RequestContext in com.couchbase.client.core.msg
Methods in com.couchbase.client.core.msg that return RequestContext Modifier and Type Method Description RequestContextRequestContext. cancel()Allows to cancel the attachedRequestfrom anywhere in the code.RequestContextRequestContext. clientContext(Map<String,Object> clientContext)Allows to set a custom payload for this request.RequestContextBaseRequest. context()RequestContextRequest. context()If attached, returns the context for this request.RequestContextRequestContext. dispatchLatency(long dispatchLatency)Allows to set the dispatch duration of the request.RequestContextRequestContext. encodeLatency(long encodeLatency)RequestContextRequestContext. incrementRetryAttempts(Duration lastRetryDuration, RetryReason reason)RequestContextRequestContext. lastChannelId(String lastChannelId)RequestContextRequestContext. lastDispatchedFrom(HostAndPort lastDispatchedFrom)RequestContextRequestContext. lastDispatchedTo(HostAndPort lastDispatchedTo)RequestContextRequestContext. lastDispatchedToNode(NodeIdentifier lastDispatchedToNode)RequestContextRequestContext. logicallyComplete()RequestContextRequestContext. logicallyComplete(Throwable err)Signals that this request is completed fully, including streaming sections or logical sub-requests also being completed (i.e.RequestContextRequestContext. serverLatency(long serverLatency) -
Uses of RequestContext in com.couchbase.client.core.protostellar
Methods in com.couchbase.client.core.protostellar that return RequestContext Modifier and Type Method Description RequestContextProtostellarBaseRequest. context()
-