|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kodo.datacache.DataCacheManager
This type manages the system's data and query caches. You can
retrieve the data cache manager from the JDOConfiguration
.
Constructor Summary | |
DataCacheManager(JDOConfiguration conf)
Constructor; supply system configuration. |
Method Summary | |
void |
close()
Close all caches. |
DataCache |
getDataCache()
Return the (wrapped) default data cache. |
DataCache |
getDataCache(boolean unwrap)
Return the default data cache. |
DataCache |
getDataCache(String name)
Return the named (wrapped) data cache, creating it if needed. |
DataCache |
getDataCache(String name,
boolean create,
boolean unwrap)
Return the named data cache. |
String[] |
getDataCacheNames()
Return a list of the names of all datacache created so far. |
QueryCache |
getQueryCache()
Return the system query cache. |
boolean |
isCachingEnabled()
Whether we're using an L2 cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataCacheManager(JDOConfiguration conf)
Method Detail |
public boolean isCachingEnabled()
public DataCache getDataCache()
public DataCache getDataCache(boolean unwrap)
unwrap
- true to remove any decorators around the native
data cachepublic DataCache getDataCache(String name)
public DataCache getDataCache(String name, boolean create, boolean unwrap)
create
- if true, the cache will be created if it does
not already existunwrap
- true to remove any decorators around the native
data cachepublic String[] getDataCacheNames()
public QueryCache getQueryCache()
public void close()
close
in interface com.solarmetric.util.Closeable
|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |