Class AbstractCachingConfiguration.CachingConfigurerSupplier
java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration.CachingConfigurerSupplier
- Enclosing class:
AbstractCachingConfiguration
- Since:
- 3.1
- Author:
- Chris Beams, Stephane Nicoll, Juergen Hoeller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadapt(Function<CachingConfigurer, @Nullable T> provider) Adapt theCachingConfigurersupplier to another supplier provided by the specified mapping function.
-
Constructor Details
-
CachingConfigurerSupplier
-
-
Method Details
-
adapt
Adapt theCachingConfigurersupplier to another supplier provided by the specified mapping function. If the underlyingCachingConfigurerisnull,nullis returned and the mapping function is not invoked.- Type Parameters:
T- the type of the supplier- Parameters:
provider- the provider to use to adapt the supplier- Returns:
- another supplier mapped by the specified function
-