public interface GenericDecoratorAsync
Modifier and Type | Method and Description |
---|---|
<T> Callable<T> |
decorateCallable(ResilienceConfiguration configuration,
Callable<T> callable,
ExecutorService executor)
Decorates the given callable to enable a resilient property.
|
@Nonnull <T> Callable<T> decorateCallable(@Nonnull ResilienceConfiguration configuration, @Nonnull Callable<T> callable, @Nonnull ExecutorService executor)
T
- The type of the callable.configuration
- The configuration to be used.callable
- The callable to decorate.executor
- The executor service instance to run asynchronous tasks with.Copyright © 2020 SAP SE. All rights reserved.