Uses of Class
com.couchbase.client.core.msg.CancellationReason
-
Packages that use CancellationReason Package Description com.couchbase.client.core.msg -
-
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. 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.
-