Uses of Interface
dev.langchain4j.internal.ExceptionMapper
Packages that use ExceptionMapper
-
Uses of ExceptionMapper in dev.langchain4j.internal
Classes in dev.langchain4j.internal that implement ExceptionMapperFields in dev.langchain4j.internal declared as ExceptionMapperMethods in dev.langchain4j.internal with parameters of type ExceptionMapperModifier and TypeMethodDescription<T> CompletableFuture<T> RetryUtils.RetryPolicy.withRetryAsync(Supplier<CompletableFuture<T>> action, int maxRetries, ExceptionMapper exceptionMapper) Non-blocking counterpart ofRetryUtils.RetryPolicy.withRetry(Callable, int)for actions that return aCompletableFuture.static <T> TRetryUtils.withRetryMappingExceptions(Callable<T> action, int maxRetries, ExceptionMapper exceptionMapper) This method attempts to execute a given action up to a specified number of times with an exponential backoff.static <T> CompletableFuture<T> RetryUtils.withRetryMappingExceptionsAsync(Supplier<CompletableFuture<T>> action, int maxRetries, ExceptionMapper exceptionMapper) Non-blocking counterpart ofRetryUtils.withRetryMappingExceptions(Callable, int, ExceptionMapper).