Class ContentCaffeineAutoConfiguration

java.lang.Object
com.broadleafcommerce.content.autoconfigure.ContentCaffeineAutoConfiguration

@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({ContentCacheProperties.class,ContentCacheWeightProperties.class}) public class ContentCaffeineAutoConfiguration extends Object
Auto-configuration for content caching using Caffeine as the underlying cache implementation.
Author:
Jeff Fischer
  • Constructor Details

    • ContentCaffeineAutoConfiguration

      public ContentCaffeineAutoConfiguration()
  • Method Details

    • contentCaffeineManagerCustomizer

      @Bean @ConditionalOnMissingBean(name="contentCaffeineManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.springframework.cache.caffeine.CaffeineCacheManager> contentCaffeineManagerCustomizer(com.broadleafcommerce.common.extension.cache.caffeine.CaffeineBudgetManager budgetManager, ContentCacheProperties props, ContentCacheWeightProperties weightProps)