Uses of Enum
com.couchbase.client.core.retry.RetryReason
Package
Description
-
Uses of RetryReason in com.couchbase.client.core.cnc.events.io
ModifierConstructorDescriptionCollectionOutdatedHandledEvent
(CollectionIdentifier collectionIdentifier, RetryReason retryReason, IoContext context) -
Uses of RetryReason in com.couchbase.client.core.cnc.events.request
Modifier and TypeMethodDescriptionRequestNotRetriedEvent.retryReason()
RequestRetryScheduledEvent.retryReason()
ModifierConstructorDescriptionPreparedStatementRetriedEvent
(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
Modifier and TypeMethodDescriptionTimeoutException.retryReasons()
Returns the set of retry reasons for request. -
Uses of RetryReason in com.couchbase.client.core.io.netty.analytics
Modifier and TypeMethodDescriptionprotected Optional<RetryReason>
AnalyticsMessageHandler.qualifiesForRetry
(CouchbaseException exception) -
Uses of RetryReason in com.couchbase.client.core.io.netty.chunk
Modifier 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
Modifier and TypeMethodDescriptionprotected Optional<RetryReason>
QueryMessageHandler.qualifiesForRetry
(CouchbaseException exception) -
Uses of RetryReason in com.couchbase.client.core.msg
Modifier and TypeMethodDescriptionRequestContext.incrementRetryAttempts
(Duration lastRetryDuration, RetryReason reason) static CancellationReason
CancellationReason.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
Modifier and TypeMethodDescriptionvoid
ProtostellarRequest.incrementRetryAttempts
(Duration duration, RetryReason reason) -
Uses of RetryReason in com.couchbase.client.core.retry
Modifier and TypeMethodDescriptionstatic RetryReason
Returns 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.Modifier and TypeMethodDescriptionstatic void
RetryOrchestrator.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 ProtostellarRequestBehaviour
RetryOrchestratorProtostellar.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
Modifier and TypeMethodDescriptionvoid
CoreTransactionContext.incrementRetryAttempts
(Duration lastRetryDuration, RetryReason reason)