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