Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache.custom
Class MultiCacheManager

java.lang.Object
  extended by org.jboss.dashboard.factory.BasicFactoryElement
      extended by 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

Field Summary
 long clearIntervalMillis
           
 boolean groupClears
           
protected static Map instances
           
 
Constructor Summary
MultiCacheManager()
           
 
Method Summary
 void addCache(MultiCache cache)
           
 void clearAllCaches()
           
 boolean containsCache(String type)
           
 void shutdown()
          Called when the Factory is going down, to allow the release of resources.
 void start()
          Called after constructing the instance and setting the default properties.
 
Methods inherited from class org.jboss.dashboard.factory.BasicFactoryElement
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected static Map instances

groupClears

public boolean groupClears

clearIntervalMillis

public long clearIntervalMillis
Constructor Detail

MultiCacheManager

public MultiCacheManager()
Method Detail

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()

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.