Class EhcacheConfigurers.BasicEhcacheConfigurer
java.lang.Object
com.broadleafcommerce.common.extension.cache.ehcache.EhcacheConfigurers.BasicEhcacheConfigurer
- Enclosing class:
- EhcacheConfigurers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbasicInitialize(org.springframework.cache.jcache.JCacheCacheManager cacheManager, String cacheName, int ttlSeconds, int heapEntries, int offheapMb) Initializes a standard cache configuration with an off-heap tier and registers it using custom heap and off-heap sizes.voidkeysInitialize(org.springframework.cache.jcache.JCacheCacheManager cacheManager, String cacheName, int heapEntries, int offheapMb) Initializes a "Keys" cache region used by CacheStateManager for eviction tracking.
-
Constructor Details
-
BasicEhcacheConfigurer
public BasicEhcacheConfigurer()
-
-
Method Details
-
basicInitialize
public void basicInitialize(org.springframework.cache.jcache.JCacheCacheManager cacheManager, String cacheName, int ttlSeconds, int heapEntries, int offheapMb) Initializes a standard cache configuration with an off-heap tier and registers it using custom heap and off-heap sizes. -
keysInitialize
public void keysInitialize(org.springframework.cache.jcache.JCacheCacheManager cacheManager, String cacheName, int heapEntries, int offheapMb) Initializes a "Keys" cache region used by CacheStateManager for eviction tracking. These regions are configured with eternal expiry. -
getSerializerClass
-