Class DefaultCacheFactory

java.lang.Object
com.atlassian.crowd.dao.membership.cache.DefaultCacheFactory
All Implemented Interfaces:
CacheFactory

public class DefaultCacheFactory extends Object implements CacheFactory
Default implementation of CacheFactory. Caches will expire after write, replicate asynchronously and via invalidation.
  • 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 interface CacheFactory