org.jboss.dashboard.database.cache
Class CacheConfigurationManager
java.lang.Object
org.jboss.dashboard.factory.BasicFactoryElement
org.jboss.dashboard.database.cache.CacheConfigurationManager
- All Implemented Interfaces:
- Serializable, FactoryLifecycle
public class CacheConfigurationManager
- extends BasicFactoryElement
- See Also:
- Serialized Form
| Methods inherited from class org.jboss.dashboard.factory.BasicFactoryElement |
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheConfigurationManager
public CacheConfigurationManager()
getConfigGenerator
public CacheConfigurationGenerator getConfigGenerator()
setConfigGenerator
public void setConfigGenerator(CacheConfigurationGenerator configGenerator)
getCacheConfigurationGenerators
public Properties getCacheConfigurationGenerators()
setCacheConfigurationGenerators
public void setCacheConfigurationGenerators(Properties cacheConfigurationGenerators)
getCacheOptions
public CacheOptions getCacheOptions()
setCacheOptions
public void setCacheOptions(CacheOptions cacheOptions)
getHibernateProperties
public Properties getHibernateProperties()
setHibernateProperties
public void setHibernateProperties(Properties hibernateProperties)
initializeCaches
public void initializeCaches()
- Starts the cache configuration
createCustomCacheRegion
public boolean createCustomCacheRegion(String cacheRegionName)
- Create a custom cache region for an existing cache
- Parameters:
cacheRegionName - cache name to create
- Returns:
- true if the urnderlying cache supported cache creation
freeAllCache
public boolean freeAllCache()
- Clears all objects stored in the cache
- Returns:
- true if it is supported
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.