Kodo 4.2.0. generated on July 28 2008

kodo.datacache
Class KodoDataCacheManager

java.lang.Object
  extended by kodo.datacache.KodoDataCacheManager
All Implemented Interfaces:
DataCacheManager

public class KodoDataCacheManager
extends Object
implements DataCacheManager

Kodo extensions to the data cache manager

Since:
4.1

Constructor Summary
KodoDataCacheManager()
           
 
Method Summary
 void close()
           
 DataCache getDataCache(String name)
           
 DataCache getDataCache(String name, boolean create)
           
 String[] getDataCacheNames()
          Return a list of the names of all datacaches created so far.
 DataCacheScheduler getDataCacheScheduler()
           
 DataCache getDefaultDataCache()
          Return the default cache.
 DataCachePCDataGenerator getPCDataGenerator()
           
 DataCache getSystemDataCache()
           
 QueryCache getSystemQueryCache()
           
 void initialize(OpenJPAConfiguration conf, ObjectValue dataCache, ObjectValue queryCache)
           
 int size()
          Return the number of caches currently in the system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KodoDataCacheManager

public KodoDataCacheManager()
Method Detail

initialize

public void initialize(OpenJPAConfiguration conf,
                       ObjectValue dataCache,
                       ObjectValue queryCache)
Specified by:
initialize in interface DataCacheManager

size

public int size()
Return the number of caches currently in the system


getDataCacheNames

public String[] getDataCacheNames()
Return a list of the names of all datacaches created so far.


getDefaultDataCache

public DataCache getDefaultDataCache()
Return the default cache.


getSystemDataCache

public DataCache getSystemDataCache()
Specified by:
getSystemDataCache in interface DataCacheManager

getDataCache

public DataCache getDataCache(String name)
Specified by:
getDataCache in interface DataCacheManager

getDataCache

public DataCache getDataCache(String name,
                              boolean create)
Specified by:
getDataCache in interface DataCacheManager

getSystemQueryCache

public QueryCache getSystemQueryCache()
Specified by:
getSystemQueryCache in interface DataCacheManager

getPCDataGenerator

public DataCachePCDataGenerator getPCDataGenerator()
Specified by:
getPCDataGenerator in interface DataCacheManager

getDataCacheScheduler

public DataCacheScheduler getDataCacheScheduler()
Specified by:
getDataCacheScheduler in interface DataCacheManager

close

public void close()
Specified by:
close in interface DataCacheManager

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.