public abstract class AbstractCacheFactory extends java.lang.Object implements CacheFactory
CacheFactory implementation containing common functionality
such as cache configuration properties support.| Constructor and Description |
|---|
AbstractCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty(java.lang.String cacheName,
java.lang.String propName,
java.lang.String defaultValue) |
void |
setProperties(java.util.Properties properties)
Provide properties to parameterize cache creation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCachepublic java.lang.String getProperty(java.lang.String cacheName,
java.lang.String propName,
java.lang.String defaultValue)
public void setProperties(java.util.Properties properties)
DefaultCacheFactory.createCache(String).
For example, for a cache named cache.ticketsCache the property cache.ticketsCache.maxItems
will determine the capacity of the cache.properties - Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.