- java.lang.Object
- 
- org.datanucleus.properties.FrequentlyAccessedProperties
 
- 
 public class FrequentlyAccessedProperties extends Object Class for providing faster access to properties that are rarely set but often read.
- 
- 
Constructor SummaryConstructors Constructor Description FrequentlyAccessedProperties()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetDetachAllOnCommit()BooleangetDetachOnClose()StringgetLevel2CacheRetrieveMode()StringgetLevel2CacheStoreMode()BooleangetOptimisticTransaction()BooleangetReachabilityAtCommit()BooleangetSerialiseRead()voidsetDefaults(FrequentlyAccessedProperties defaults)Set default properties that are read when property is not defined in this instancevoidsetProperty(String property, Object value)Tries to set the property value for any of the "frequent" properties.
 
- 
- 
- 
Method Detail- 
setDefaultspublic void setDefaults(FrequentlyAccessedProperties defaults) Set default properties that are read when property is not defined in this instance- Parameters:
- defaults- Default properties
 
 - 
setPropertypublic void setProperty(String property, Object value) Tries to set the property value for any of the "frequent" properties.- Parameters:
- property- prop name
- value- The value of the property
 
 - 
getReachabilityAtCommitpublic Boolean getReachabilityAtCommit() 
 - 
getDetachOnClosepublic Boolean getDetachOnClose() 
 - 
getDetachAllOnCommitpublic Boolean getDetachAllOnCommit() 
 - 
getLevel2CacheStoreModepublic String getLevel2CacheStoreMode() 
 - 
getLevel2CacheRetrieveModepublic String getLevel2CacheRetrieveMode() 
 - 
getSerialiseReadpublic Boolean getSerialiseRead() 
 - 
getOptimisticTransactionpublic Boolean getOptimisticTransaction() 
 
- 
 
-