public class CacheOptions extends Object
| Constructor and Description |
|---|
CacheOptions()
Construct with options.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNaturalKey()
Return the natural key property.
|
String |
getWarmingQuery()
Return the query used to warm the cache.
|
boolean |
isReadOnly()
Return the readOnly default setting.
|
boolean |
isUseCache()
Return true if this should use a cache for lazy loading.
|
boolean |
isUseNaturalKeyCache()
Return true if a natural key is set.
|
void |
setNaturalKey(String naturalKey)
Set the natural key property.
|
void |
setReadOnly(boolean readOnly)
Set read Only default setting.
|
void |
setUseCache(boolean useCache)
Set whether to use the bean cache for the associated type.
|
void |
setWarmingQuery(String warmingQuery)
Set the cache warming query.
|
public boolean isUseCache()
public void setUseCache(boolean useCache)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public String getWarmingQuery()
public void setWarmingQuery(String warmingQuery)
public boolean isUseNaturalKeyCache()
public String getNaturalKey()
public void setNaturalKey(String naturalKey)
Copyright © 2014. All Rights Reserved.