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.maxItems| Constructor and Description |
|---|
DefaultCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.repo.cache.SimpleCache<K,V> |
createCache(String cacheName)
Creates a cache.
|
getProperty, setPropertiespublic org.alfresco.repo.cache.SimpleCache<K,V> createCache(String cacheName)
CacheFactorycacheName - StringCopyright © 2005–2018 Alfresco Software. All rights reserved.