|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.config.Configuration
The configuration for ehcache. This class is populated through introspection
by Configurator
Nested Class Summary | |
static class |
Configuration.Cache
A class to represent Cache configuration e.g. |
static class |
Configuration.DefaultCache
A class to represent the default cache e.g. |
static class |
Configuration.DiskStore
A class to represent DiskStore configuration e.g. |
Constructor Summary | |
Configuration()
|
Method Summary | |
void |
addCache(Configuration.Cache cache)
Allows BeanHandler to add disk caches to the configuration |
void |
addDefaultCache(Configuration.DefaultCache defaultCache)
Allows BeanHandler to add disk caches to the configuration |
void |
addDiskStore(Configuration.DiskStore diskStore)
Allows BeanHandler to add disk store locationb to the configuration |
Cache |
getCache(java.lang.String name)
Gets a cache |
java.util.Set |
getCacheKeySet()
Gets a Map of caches |
Cache |
getDefaultCache()
Gets the Default Cache |
java.lang.String |
getDiskCachePath()
Gets the disk cache path |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Configuration()
Method Detail |
public void addDiskStore(Configuration.DiskStore diskStore) throws ObjectExistsException
BeanHandler
to add disk store locationb to the configuration
ObjectExistsException
public void addDefaultCache(Configuration.DefaultCache defaultCache) throws ObjectExistsException
BeanHandler
to add disk caches to the configuration
ObjectExistsException
public void addCache(Configuration.Cache cache) throws ObjectExistsException
BeanHandler
to add disk caches to the configuration
ObjectExistsException
public java.lang.String getDiskCachePath()
public Cache getDefaultCache()
public java.util.Set getCacheKeySet()
public Cache getCache(java.lang.String name)
name
- the name of the cache
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |