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