Class CatalogCaffeineAutoConfiguration
java.lang.Object
com.broadleafcommerce.catalog.autoconfigure.CatalogCaffeineAutoConfiguration
@Configuration
@Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class)
@ConditionalOnClass(org.springframework.cache.caffeine.CaffeineCacheManager.class)
@ConditionalOnProperty(value="com.broadleafcommerce.cache.activeCacheManagerImplementation",
havingValue="com.broadleafcommerce.common.extension.cache.caffeine.CaffeineAutoConfiguration")
@AutoConfigureAfter(com.broadleafcommerce.common.extension.cache.caffeine.CaffeineAutoConfiguration.class)
@EnableConfigurationProperties({CatalogCacheProperties.class,CatalogCacheWeightProperties.class})
public class CatalogCaffeineAutoConfiguration
extends Object
Auto-configuration for catalog caching using Caffeine as the underlying cache implementation.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean
-
Constructor Details
-
CatalogCaffeineAutoConfiguration
public CatalogCaffeineAutoConfiguration()
-
-
Method Details
-
catalogCaffeineManagerCustomizer
@Bean @ConditionalOnMissingBean(name="catalogCaffeineManagerCustomizer") public com.broadleafcommerce.common.extension.cache.CacheCustomizerFactoryBean catalogCaffeineManagerCustomizer()
-