Uses of Class
com.couchbase.client.core.retry.RetryReason
-
-
Uses of RetryReason in com.couchbase.client.core.cnc.events.io
Constructors in com.couchbase.client.core.cnc.events.io with parameters of type RetryReason Constructor Description CollectionOutdatedHandledEvent(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 RetryReason Modifier and Type Method Description RetryReason
RequestNotRetriedEvent. retryReason()
RetryReason
RequestRetryScheduledEvent. retryReason()
Constructors in com.couchbase.client.core.cnc.events.request with parameters of type RetryReason Constructor Description PreparedStatementRetriedEvent(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 RetryReason Modifier and Type Method Description Set<RetryReason>
TimeoutException. 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 RetryReason Modifier and Type Method Description protected 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 RetryReason Modifier and Type Method Description protected 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 RetryReason Modifier and Type Method Description protected 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 RetryReason Modifier and Type Method Description Set<RetryReason>
RequestContext. retryReasons()
Methods in com.couchbase.client.core.msg with parameters of type RetryReason Modifier and Type Method Description RequestContext
RequestContext. 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
Methods in com.couchbase.client.core.protostellar with parameters of type RetryReason Modifier and Type Method Description void
ProtostellarRequest. incrementRetryAttempts(Duration duration, RetryReason reason)
-
Uses of RetryReason in com.couchbase.client.core.retry
Methods in com.couchbase.client.core.retry that return RetryReason Modifier and Type Method Description static RetryReason
RetryReason. valueOf(String name)
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.Methods in com.couchbase.client.core.retry with parameters of type RetryReason Modifier and Type Method Description static void
RetryOrchestrator. maybeRetry(CoreContext ctx, Request<? extends Response> request, RetryReason reason)
Retry or cancel the given request, depending on its state and the configuredRetryStrategy
.CompletableFuture<RetryAction>
BestEffortRetryStrategy. shouldRetry(Request<? extends Response> request, RetryReason reason)
Determines if a request should be retried or not (and if so, after which duration).CompletableFuture<RetryAction>
FailFastRetryStrategy. shouldRetry(Request<? extends Response> request, RetryReason reason)
static ProtostellarRequestBehaviour
RetryOrchestratorProtostellar. shouldRetry(CoreProtostellar core, ProtostellarRequest<?> request, RetryReason reason)
CompletableFuture<RetryAction>
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 RetryReason Modifier and Type Method Description void
CoreTransactionContext. incrementRetryAttempts(Duration lastRetryDuration, RetryReason reason)
-