Class DefaultCacheFactory
java.lang.Object
com.atlassian.crowd.dao.membership.cache.DefaultCacheFactory
- All Implemented Interfaces:
CacheFactory
Default implementation of
CacheFactory
.
Caches will expire after write, replicate asynchronously and via invalidation.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCache
(com.atlassian.crowd.dao.membership.cache.QueryTypeCacheKey cacheKey, Duration cacheTtl, int maxEntries)
-
Constructor Details
-
DefaultCacheFactory
public DefaultCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
-
-
Method Details
-
createCache
public com.atlassian.cache.Cache<String,List<String>> createCache(com.atlassian.crowd.dao.membership.cache.QueryTypeCacheKey cacheKey, Duration cacheTtl, int maxEntries) - Specified by:
createCache
in interfaceCacheFactory
-