Uses of Class
com.couchbase.client.core.msg.CancellationReason
-
Packages that use CancellationReason Package Description com.couchbase.client.core.error com.couchbase.client.core.msg -
-
Uses of CancellationReason in com.couchbase.client.core.error
Methods in com.couchbase.client.core.error that return CancellationReason Modifier and Type Method Description CancellationReasonRequestCanceledException. reason()Constructors in com.couchbase.client.core.error with parameters of type CancellationReason Constructor Description RequestCanceledException(String message, CancellationReason reason, CancellationErrorContext ctx) -
Uses of CancellationReason in com.couchbase.client.core.msg
Fields in com.couchbase.client.core.msg declared as CancellationReason Modifier and Type Field Description static CancellationReasonCancellationReason. CANCELLED_VIA_CONTEXTThe user or some other code proactively cancelled the request by cancelling it through its attached context.static CancellationReasonCancellationReason. OTHERFor a different reason.static CancellationReasonCancellationReason. SHUTDOWNThe SDK has been shut down already when this request is dispatched.static CancellationReasonCancellationReason. STOPPED_LISTENINGThe downstream consumer stopped listening for a result and therefore any further processing is a waste of resources.static CancellationReasonCancellationReason. TARGET_NODE_REMOVEDWhen aTargetedRequestis dispatched but the list of nodes does not contain the target at all, there is good chance that this request will not be able to make progress anymore so it will be cancelled.static CancellationReasonCancellationReason. TIMEOUTThe request ran into a timeout and is therefore cancelled before it got a chance to complete.static CancellationReasonCancellationReason. TOO_MANY_REQUESTS_IN_RETRYIf too many outstanding requests are waiting to be completed.Methods in com.couchbase.client.core.msg that return CancellationReason Modifier and Type Method Description CancellationReasonBaseRequest. cancellationReason()CancellationReasonRequest. cancellationReason()If the request isRequest.cancelled(), this returns the reason why.static CancellationReasonCancellationReason. noMoreRetries(RetryReason retryReason)This cancellation reason indicates that no more retries were allowed based on the retry strategy.Methods in com.couchbase.client.core.msg with parameters of type CancellationReason Modifier and Type Method Description voidBaseRequest. cancel(CancellationReason reason)voidRequest. cancel(CancellationReason reason)Cancels this request.
-