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 void
RequestSpan. 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 void
NoopRequestSpan. requestContext(RequestContext requestContext)
void
ThresholdRequestSpan. 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 RequestContext
CoreHttpResponse. 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 RequestContext
AnalyticsErrorContext. requestContext()
RequestContext
CancellationErrorContext. requestContext()
Returns the underlying request context (if present) for debug reasons.RequestContext
EventingErrorContext. requestContext()
RequestContext
ManagerErrorContext. requestContext()
RequestContext
QueryErrorContext. requestContext()
RequestContext
SearchErrorContext. requestContext()
RequestContext
ViewErrorContext. 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 RequestContext
BaseChunkResponseParser. requestContext()
Methods in com.couchbase.client.core.io.netty.chunk with parameters of type RequestContext Modifier and Type Method Description void
BaseChunkResponseParser. updateRequestContext(RequestContext requestContext)
void
ChunkResponseParser. 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 RequestContext
RequestContext. cancel()
Allows to cancel the attachedRequest
from anywhere in the code.RequestContext
RequestContext. clientContext(Map<String,Object> clientContext)
Allows to set a custom payload for this request.RequestContext
BaseRequest. context()
RequestContext
Request. context()
If attached, returns the context for this request.RequestContext
RequestContext. dispatchLatency(long dispatchLatency)
Allows to set the dispatch duration of the request.RequestContext
RequestContext. encodeLatency(long encodeLatency)
RequestContext
RequestContext. incrementRetryAttempts(Duration lastRetryDuration, RetryReason reason)
RequestContext
RequestContext. lastChannelId(String lastChannelId)
RequestContext
RequestContext. lastDispatchedFrom(HostAndPort lastDispatchedFrom)
RequestContext
RequestContext. lastDispatchedTo(HostAndPort lastDispatchedTo)
RequestContext
RequestContext. lastDispatchedToNode(NodeIdentifier lastDispatchedToNode)
RequestContext
RequestContext. logicallyComplete()
RequestContext
RequestContext. logicallyComplete(Throwable err)
Signals that this request is completed fully, including streaming sections or logical sub-requests also being completed (i.e.RequestContext
RequestContext. 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 RequestContext
ProtostellarBaseRequest. context()
-