Package org.alfresco.repo.cache
Interface CacheFactory<K extends Serializable,V>
- All Known Implementing Classes:
AbstractCacheFactory,DefaultCacheFactory
public interface CacheFactory<K extends Serializable,V>
Cache factory interface. Implementing classes create
SimpleCache objects
for a given cache name. It is the responsibility of the implementation to lookup
specific cache configuration details using the supplied name.- Author:
- Matt Ward
-
Method Summary
-
Method Details
-
createCache
Creates a cache. The type of cache (e.g. localised, clustered etc.) produced is dependant on the factory implementation, and will vary at runtime.- Parameters:
cacheName- String- Returns:
- SimpleCache
-