Class FulfillmentCaffeineAutoConfiguration

java.lang.Object
com.broadleafcommerce.fulfillment.autoconfigure.FulfillmentCaffeineAutoConfiguration

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

    • FulfillmentCaffeineAutoConfiguration

      public FulfillmentCaffeineAutoConfiguration()
  • Method Details

    • fulfillmentCaffeineManagerCustomizer

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