Uses of Enum
com.couchbase.client.core.retry.RetryReason
Packages that use RetryReason
Package
Description
-
Uses of RetryReason in com.couchbase.client.core.cnc.events.io
Constructors in com.couchbase.client.core.cnc.events.io with parameters of type RetryReasonModifierConstructorDescriptionCollectionOutdatedHandledEvent(CollectionIdentifier collectionIdentifier, RetryReason retryReason, IoContext context) -
Uses of RetryReason in com.couchbase.client.core.cnc.events.request
Methods in com.couchbase.client.core.cnc.events.request that return RetryReasonModifier and TypeMethodDescriptionRequestNotRetriedEvent.retryReason()RequestRetryScheduledEvent.retryReason()Constructors in com.couchbase.client.core.cnc.events.request with parameters of type RetryReasonModifierConstructorDescriptionPreparedStatementRetriedEvent(Duration duration, RequestContext context, RetryReason retryReason, Throwable cause) RequestNotRetriedEvent(Event.Severity severity, Class<?> clazz, Context context, RetryReason reason, Throwable throwable) RequestRetryScheduledEvent(Duration duration, Context context, Class<?> request, RetryReason reason) -
Uses of RetryReason in com.couchbase.client.core.error
Methods in com.couchbase.client.core.error that return types with arguments of type RetryReasonModifier and TypeMethodDescriptionTimeoutException.retryReasons()Returns the set of retry reasons for request. -
Uses of RetryReason in com.couchbase.client.core.io.netty.analytics
Methods in com.couchbase.client.core.io.netty.analytics that return types with arguments of type RetryReasonModifier and TypeMethodDescriptionprotected Optional<RetryReason> AnalyticsMessageHandler.qualifiesForRetry(CouchbaseException exception) -
Uses of RetryReason in com.couchbase.client.core.io.netty.chunk
Methods in com.couchbase.client.core.io.netty.chunk that return types with arguments of type RetryReasonModifier and TypeMethodDescriptionprotected Optional<RetryReason> ChunkedMessageHandler.qualifiesForRetry(CouchbaseException exception) Can be implemented by children to not fail a request but rather send it into retry. -
Uses of RetryReason in com.couchbase.client.core.io.netty.query
Methods in com.couchbase.client.core.io.netty.query that return types with arguments of type RetryReasonModifier and TypeMethodDescriptionprotected Optional<RetryReason> QueryMessageHandler.qualifiesForRetry(CouchbaseException exception) -
Uses of RetryReason in com.couchbase.client.core.msg
Methods in com.couchbase.client.core.msg that return types with arguments of type RetryReasonMethods in com.couchbase.client.core.msg with parameters of type RetryReasonModifier and TypeMethodDescriptionRequestContext.incrementRetryAttempts(Duration lastRetryDuration, RetryReason reason) static CancellationReasonCancellationReason.noMoreRetries(RetryReason retryReason) This cancellation reason indicates that no more retries were allowed based on the retry strategy. -
Uses of RetryReason in com.couchbase.client.core.protostellar
Methods in com.couchbase.client.core.protostellar with parameters of type RetryReasonModifier and TypeMethodDescriptionvoidProtostellarRequest.incrementRetryAttempts(Duration duration, RetryReason reason) -
Uses of RetryReason in com.couchbase.client.core.retry
Methods in com.couchbase.client.core.retry that return RetryReasonModifier and TypeMethodDescriptionstatic RetryReasonReturns the enum constant of this type with the specified name.static RetryReason[]RetryReason.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.couchbase.client.core.retry with parameters of type RetryReasonModifier and TypeMethodDescriptionstatic voidRetryOrchestrator.maybeRetry(CoreContext ctx, Request<? extends Response> request, RetryReason reason) Retry or cancel the given request, depending on its state and the configuredRetryStrategy.BestEffortRetryStrategy.shouldRetry(Request<? extends Response> request, RetryReason reason) Determines if a request should be retried or not (and if so, after which duration).FailFastRetryStrategy.shouldRetry(Request<? extends Response> request, RetryReason reason) static ProtostellarRequestBehaviourRetryOrchestratorProtostellar.shouldRetry(CoreProtostellar core, ProtostellarRequest<?> request, RetryReason reason) RetryStrategy.shouldRetry(Request<? extends Response> request, RetryReason reason) Checks if the given request should be retried and how long the retry delay should be. -
Uses of RetryReason in com.couchbase.client.core.transaction
Methods in com.couchbase.client.core.transaction with parameters of type RetryReasonModifier and TypeMethodDescriptionvoidCoreTransactionContext.incrementRetryAttempts(Duration lastRetryDuration, RetryReason reason)