Package org.apache.openjpa.conf
Class MetaDataCacheMaintenance
- java.lang.Object
-
- org.apache.openjpa.conf.MetaDataCacheMaintenance
-
public class MetaDataCacheMaintenance extends java.lang.Object
Performs maintenance tasks on the metadata caches accessible via theCacheMarshaller
architecture.- 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 void
dump()
static void
main(java.lang.String[] args)
void
setLog(Log log)
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.
-
-
-
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
- TheBrokerFactory
for 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(java.lang.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()
-
-