类 Caching
- java.lang.Object
-
- org.hibernate.boot.model.Caching
-
public class Caching extends Object
Models the caching options for an entity, natural-id or collection.- 作者:
- Steve Ebersole, Hardy Ferentschik
-
-
构造器概要
构造器 构造器 说明 Caching(String region, AccessType accessType, boolean cacheLazyProperties)Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)Caching(TruthValue requested)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AccessTypegetAccessType()StringgetRegion()TruthValuegetRequested()booleanisCacheLazyProperties()voidoverlay(CacheRegionDefinition overrides)voidoverlay(Caching overrides)voidsetAccessType(AccessType accessType)voidsetCacheLazyProperties(boolean cacheLazyProperties)voidsetRegion(String region)voidsetRequested(TruthValue requested)StringtoString()
-
-
-
构造器详细资料
-
Caching
public Caching(TruthValue requested)
-
Caching
public Caching(String region, AccessType accessType, boolean cacheLazyProperties)
-
Caching
public Caching(String region, AccessType accessType, boolean cacheLazyProperties, TruthValue requested)
-
-
方法详细资料
-
getRegion
public String getRegion()
-
setRegion
public void setRegion(String region)
-
getAccessType
public AccessType getAccessType()
-
setAccessType
public void setAccessType(AccessType accessType)
-
isCacheLazyProperties
public boolean isCacheLazyProperties()
-
setCacheLazyProperties
public void setCacheLazyProperties(boolean cacheLazyProperties)
-
getRequested
public TruthValue getRequested()
-
setRequested
public void setRequested(TruthValue requested)
-
overlay
public void overlay(CacheRegionDefinition overrides)
-
overlay
public void overlay(Caching overrides)
-
-