Class IndexerCaffeineAutoConfiguration

java.lang.Object
com.broadleafcommerce.search.index.core.service.autoconfigure.IndexerCaffeineAutoConfiguration

@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") @EnableConfigurationProperties({IndexCacheProperties.class,IndexCacheWeightProperties.class}) public class IndexerCaffeineAutoConfiguration extends Object
Auto-configuration for indexer caching using Caffeine as the underlying cache implementation.
Author:
Jeff Fischer
  • Constructor Details

    • IndexerCaffeineAutoConfiguration

      public IndexerCaffeineAutoConfiguration()
  • Method Details

    • indexerCaffeineManagerCustomizer

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