Package org.apache.openjpa.conf
Class MetaDataCacheMaintenance
- java.lang.Object
 - 
- org.apache.openjpa.conf.MetaDataCacheMaintenance
 
 
- 
public class MetaDataCacheMaintenance extends Object
Performs maintenance tasks on the metadata caches accessible via theCacheMarshallerarchitecture.- Since:
 - 1.1.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description MetaDataCacheMaintenance(BrokerFactory factory, boolean devpath)MetaDataCacheMaintenance(BrokerFactory factory, boolean devpath, boolean verbose)Deprecated.logging is routed to the logging system now. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump()static voidmain(String[] args)voidsetLog(Log log)voidstore()The metadata repository for the factory that this instance was constructed with will be serialized, along with any query compilations etc. that have been created for the factory. 
 - 
 
- 
- 
Constructor Detail
- 
MetaDataCacheMaintenance
@Deprecated public MetaDataCacheMaintenance(BrokerFactory factory, boolean devpath, boolean verbose)
Deprecated.logging is routed to the logging system now. 
- 
MetaDataCacheMaintenance
public MetaDataCacheMaintenance(BrokerFactory factory, boolean devpath)
- Parameters:
 factory- TheBrokerFactoryfor which cached metadata should be built.devpath- Whether or not to scan the development environment paths to find persistent types to store.
 
 - 
 
- 
Method Detail
- 
main
public static void main(String[] args)
 
- 
setLog
public void setLog(Log log)
 
- 
store
public void store()
The metadata repository for the factory that this instance was constructed with will be serialized, along with any query compilations etc. that have been created for the factory. 
- 
dump
public void dump()
 
 - 
 
 -