@Configuration class providing common structure
for enabling Spring's annotation-driven cache management capability.
EnableCaching
| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected Supplier | |
| protected Supplier | |
| protected AnnotationAttributes | |
| protected Supplier | |
| protected Supplier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | setImportMetadata(AnnotationMetadata importMetadata)
Implements org. Set the annotation metadata of the importing @ |
| protected void | useCachingConfigurer(AbstractCachingConfiguration.
Extract the configuration from the nominated |
| cacheManager | back to summary |
|---|---|
| protected Supplier<CacheManager> cacheManager
| |
| cacheResolver | back to summary |
|---|---|
| protected Supplier<CacheResolver> cacheResolver
| |
| enableCaching | back to summary |
|---|---|
| protected AnnotationAttributes enableCaching
| |
| errorHandler | back to summary |
|---|---|
| protected Supplier<CacheErrorHandler> errorHandler
| |
| keyGenerator | back to summary |
|---|---|
| protected Supplier<KeyGenerator> keyGenerator
| |
| AbstractCachingConfiguration | back to summary |
|---|---|
| public AbstractCachingConfiguration() | |
| setConfigurers | back to summary |
|---|---|
pack-priv void setConfigurers(ObjectProvider<CachingConfigurer> configurers)
| |
| setImportMetadata | back to summary |
|---|---|
| public void setImportMetadata(AnnotationMetadata importMetadata) Implements org. Doc from org. Set the annotation metadata of the importing @
| |
| useCachingConfigurer | back to summary |
|---|---|
| protected void useCachingConfigurer(AbstractCachingConfiguration. Extract the configuration from the nominated | |
| Modifier and Type | Field and Description |
|---|---|
| private final Supplier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public < the type of the supplier T> Supplier | Returns: another supplier mapped by the specified functionthe provider to use to adapt the supplier provider)Adapt the |
| supplier | back to summary |
|---|---|
| private final Supplier<CachingConfigurer> supplier | |
| CachingConfigurerSupplier | back to summary |
|---|---|
| public CachingConfigurerSupplier(Supplier<CachingConfigurer> supplier) | |
| adapt | back to summary |
|---|---|
| public <T> Supplier Adapt the
| |