org.jboss.dashboard.database.cache
Class CacheOptions
java.lang.Object
org.jboss.dashboard.factory.BasicFactoryElement
org.jboss.dashboard.database.cache.CacheOptions
- All Implemented Interfaces:
- Serializable, FactoryLifecycle
public class CacheOptions
- extends BasicFactoryElement
Stores generic cache options, to be used by underlying cache provider (if applicable)
- 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 |
cacheElements
public CacheElement[] cacheElements
- Individual cache elements to create.
cacheNamesToCreate
public String[] cacheNamesToCreate
- Caches to create specifying only name, using default parameters
CacheOptions
public CacheOptions()
getDefaultCacheElement
public CacheElement getDefaultCacheElement()
setDefaultCacheElement
public void setDefaultCacheElement(CacheElement defaultCacheElement)
getElement
public CacheElement getElement(String name)
- Return the configuration element for given cache name
- Parameters:
name -
- Returns:
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.