public class FrequentlyAccessedProperties extends Object
Constructor and Description |
---|
FrequentlyAccessedProperties() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getDetachAllOnCommit() |
Boolean |
getDetachOnClose() |
String |
getLevel2CacheRetrieveMode() |
String |
getLevel2CacheStoreMode() |
Boolean |
getOptimisticTransaction() |
Boolean |
getReachabilityAtCommit() |
Boolean |
getSerialiseRead() |
void |
setDefaults(FrequentlyAccessedProperties defaults)
Set default properties that are read when property is not defined in this instance
|
void |
setProperty(String property,
Object value)
Tries to set the property value for any of the "frequent" properties.
|
public void setDefaults(FrequentlyAccessedProperties defaults)
defaults
- Default propertiespublic void setProperty(String property, Object value)
property
- prop namevalue
- The value of the propertypublic Boolean getReachabilityAtCommit()
public Boolean getDetachOnClose()
public Boolean getDetachAllOnCommit()
public String getLevel2CacheStoreMode()
public String getLevel2CacheRetrieveMode()
public Boolean getSerialiseRead()
public Boolean getOptimisticTransaction()
Copyright © 2019. All rights reserved.