| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataCacheManager
Manages the system's data and query caches. You can
 retrieve the data cache manager from the OpenJPAConfiguration.
| Method Summary | |
|---|---|
 void | 
close()
Close all caches.  | 
 DataCache | 
getDataCache(String name)
Return the named data cache, or null if it does not exist.  | 
 DataCache | 
getDataCache(String name,
             boolean create)
Return the named data cache.  | 
 DataCacheScheduler | 
getDataCacheScheduler()
Return the runnable which schedules evictions.  | 
 DataCachePCDataGenerator | 
getPCDataGenerator()
Return the PCData generator if configured.  | 
 DataCache | 
getSystemDataCache()
Return the system-wide data cache, or null if caching is not enabled.  | 
 QueryCache | 
getSystemQueryCache()
Return the system query cache, or null if not configured.  | 
 void | 
initialize(OpenJPAConfiguration conf,
           ObjectValue dataCache,
           ObjectValue queryCache)
Initialize the manager, supplying the cache configuration.  | 
| Method Detail | 
|---|
void initialize(OpenJPAConfiguration conf,
                ObjectValue dataCache,
                ObjectValue queryCache)
DataCache getSystemDataCache()
DataCache getDataCache(String name)
DataCache getDataCache(String name,
                       boolean create)
create - if true, the cache will be created if it does
 not already existQueryCache getSystemQueryCache()
DataCachePCDataGenerator getPCDataGenerator()
DataCacheScheduler getDataCacheScheduler()
void close()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||