|
SolarMetric Kodo JDO 3.4.1 generated on May 30 2006 | ||||||||
| 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 default data cache. |
DataCache |
getDataCache(String name)
Return the named data cache, creating it if needed. |
DataCache |
getDataCache(String name,
boolean create)
Return the named data cache. |
String[] |
getDataCacheNames()
Return a list of the names of all datacache created so far. |
DataCacheScheduler |
getDataCacheScheduler()
Return the runnable which schedules evictions. |
kodo.datacache.DataCachePCDataGenerator |
getPCDataGenerator()
Return the PCData generator if configured. |
QueryCache |
getQueryCache()
Return the system query cache. |
boolean |
isCachingEnabled()
Whether we're using an L2 cache. |
void |
stopDataCacheScheduler()
Stops the eviction scheduler |
| 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(String name)
public DataCache getDataCache(String name,
boolean create)
create - if true, the cache will be created if it does
not already existpublic String[] getDataCacheNames()
public QueryCache getQueryCache()
public kodo.datacache.DataCachePCDataGenerator getPCDataGenerator()
public DataCacheScheduler getDataCacheScheduler()
public void stopDataCacheScheduler()
public void close()
close in interface com.solarmetric.util.Closeable
|
SolarMetric Kodo JDO 3.4.1 generated on May 30 2006 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||