public class DefaultCacheFactory<K extends Serializable,V> extends AbstractCacheFactory<K,V>
CacheFactory
implementation that creates DefaultSimpleCache
instances.
The caches are created with a capacity specified by the property {name}.maxItems.
For example, a cache named cache.ticketsCache would have a capacity specified
by the property cache.ticketsCache.maxItemsConstructor and Description |
---|
DefaultCacheFactory() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.repo.cache.SimpleCache<K,V> |
createCache(String cacheName)
Creates a cache.
|
getProperty, setProperties
public org.alfresco.repo.cache.SimpleCache<K,V> createCache(String cacheName)
CacheFactory
cacheName
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.