|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICacheManager
A cache manager specification.
Method Summary | |
---|---|
void |
addCache(org.jtheque.core.managers.cache.CacheConfiguration cacheConfiguration)
Add a cache. |
boolean |
cacheExists(java.lang.String name)
Indicate if a cache exists with the specified name or not. |
net.sf.ehcache.Cache |
getCache(java.lang.String name)
Return the cache with the specificied name. |
void |
removeCache(java.lang.String name)
Remove the cache with the specified name. |
Methods inherited from interface org.jtheque.core.managers.ActivableManager |
---|
isEnabled, setEnabled |
Methods inherited from interface org.jtheque.core.managers.IManager |
---|
close, init, preInit |
Method Detail |
---|
void addCache(org.jtheque.core.managers.cache.CacheConfiguration cacheConfiguration)
cacheConfiguration
- The configuration of the cache.net.sf.ehcache.Cache getCache(java.lang.String name)
name
- The name of the cache.
boolean cacheExists(java.lang.String name)
name
- The name of the cache to search for.
void removeCache(java.lang.String name)
name
- The name of the cache to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |