org.jboss.dashboard.database.cache.custom
Class MultiCacheManager
java.lang.Object
org.jboss.dashboard.factory.BasicFactoryElement
org.jboss.dashboard.database.cache.custom.MultiCacheManager
- All Implemented Interfaces:
- Serializable, FactoryLifecycle
public class MultiCacheManager
- extends BasicFactoryElement
Manages the communications between other cache managers.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instances
protected static Map instances
groupClears
public boolean groupClears
clearIntervalMillis
public long clearIntervalMillis
MultiCacheManager
public MultiCacheManager()
addCache
public void addCache(MultiCache cache)
start
public void start()
throws Exception
- Description copied from class:
BasicFactoryElement
- Called after constructing the instance and setting the default properties.
When the Factory is about to set a group of properties, it calls stop, sets
the properties and then calls start.
- Specified by:
start in interface FactoryLifecycle- Overrides:
start in class BasicFactoryElement
- Throws:
Exception
shutdown
public void shutdown()
throws Exception
- Description copied from class:
BasicFactoryElement
- Called when the Factory is going down, to allow the release of resources.
- Specified by:
shutdown in interface FactoryLifecycle- Overrides:
shutdown in class BasicFactoryElement
- Throws:
Exception
containsCache
public boolean containsCache(String type)
clearAllCaches
public void clearAllCaches()
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.