Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache
Class CacheOptions

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

Field Summary
 CacheElement[] cacheElements
          Individual cache elements to create.
 String[] cacheNamesToCreate
          Caches to create specifying only name, using default parameters
 
Constructor Summary
CacheOptions()
           
 
Method Summary
 CacheElement getDefaultCacheElement()
           
 CacheElement getElement(String name)
          Return the configuration element for given cache name
 void setDefaultCacheElement(CacheElement defaultCacheElement)
           
 
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
 

Field Detail

cacheElements

public CacheElement[] cacheElements
Individual cache elements to create.


cacheNamesToCreate

public String[] cacheNamesToCreate
Caches to create specifying only name, using default parameters

Constructor Detail

CacheOptions

public CacheOptions()
Method Detail

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:

Dashboard Builder Commons 6.0.0.Beta1

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