Uses of Record Class
de.cuioss.http.client.retry.RetryContext
Packages that use RetryContext
-
Uses of RetryContext in de.cuioss.http.client.retry
Methods in de.cuioss.http.client.retry that return RetryContextModifier and TypeMethodDescriptionstatic RetryContextCreates a new retry context for the first attempt.RetryContext.nextAttempt()Creates a new retry context for the next attempt.Methods in de.cuioss.http.client.retry with parameters of type RetryContextModifier and TypeMethodDescription<T> CompletableFuture<HttpResultObject<T>> ExponentialBackoffRetryStrategy.execute(HttpOperation<T> operation, RetryContext context) <T> CompletableFuture<HttpResultObject<T>> RetryStrategy.execute(HttpOperation<T> operation, RetryContext context) Executes the given HTTP operation with retry logic using virtual threads and async execution.voidRetryMetrics.NoOpRetryMetrics.recordRetryAttempt(RetryContext context, int attemptNumber, Duration attemptDuration, boolean successful) voidRetryMetrics.recordRetryAttempt(RetryContext context, int attemptNumber, Duration attemptDuration, boolean successful) Records a single retry attempt.voidRetryMetrics.NoOpRetryMetrics.recordRetryComplete(RetryContext context, Duration totalDuration, boolean successful, int totalAttempts) voidRetryMetrics.recordRetryComplete(RetryContext context, Duration totalDuration, boolean successful, int totalAttempts) Records the completion of a retry operation (success or failure after all attempts).voidRetryMetrics.NoOpRetryMetrics.recordRetryDelay(RetryContext context, int attemptNumber, Duration plannedDelay, Duration actualDelay) voidRetryMetrics.recordRetryDelay(RetryContext context, int attemptNumber, Duration plannedDelay, Duration actualDelay) Records the actual delay time between retry attempts.voidRetryMetrics.NoOpRetryMetrics.recordRetryStart(RetryContext context) voidRetryMetrics.recordRetryStart(RetryContext context) Records the start of a complete retry operation.