Class CustomerClientCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.customer.client.autoconfigure.CustomerClientCacheAutoConfiguration
@Configuration
@Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class)
@ConditionalOnClass(org.apache.ignite.cache.spring.SpringCacheManager.class)
@ConditionalOnProperty(value="com.broadleafcommerce.cache.activeCacheManagerImplementation",
havingValue="com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheAutoConfiguration",
matchIfMissing=true)
@EnableConfigurationProperties(CustomerClientCacheProperties.class)
public class CustomerClientCacheAutoConfiguration
extends Object
Configuration for engaging default Broadleaf support for Apache Ignite cache
- Author:
- Nathan Moore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager>
customerClientCacheManagerCustomizer
(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, CustomerClientCacheProperties cacheProperties) com.broadleafcommerce.common.extension.cache.key.ContextKeyGen
-
Constructor Details
-
CustomerClientCacheAutoConfiguration
public CustomerClientCacheAutoConfiguration()
-
-
Method Details
-
customerClientCacheManagerCustomizer
@Bean @ConditionalOnMissingBean(name="customerClientCacheManagerCustomizer") public org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer<org.apache.ignite.cache.spring.SpringCacheManager> customerClientCacheManagerCustomizer(com.broadleafcommerce.common.extension.autoconfigure.IgniteConfigurers.BasicIgniteConfigurer configurer, CustomerClientCacheProperties cacheProperties) -
dynamicCustomerSegmentCache
@Bean(name="dynamicCustomerSegmentCache") @ConditionalOnMissingBean(name="dynamicCustomerSegmentCache") public com.broadleafcommerce.common.extension.cache.key.ContextKeyGen dynamicCustomerSegmentCache()
-