Class Caching
java.lang.Object
org.hibernate.boot.model.source.spi.Caching
Models the caching options for an entity, natural id, or collection.
-
Constructor Summary
ConstructorsConstructorDescriptionCaching()
Caching
(String region, AccessType accessType, boolean cacheLazyProperties) Caching
(String region, AccessType accessType, boolean cacheLazyProperties, boolean requested) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isRequested
(boolean defaultValue) void
overlay
(CacheRegionDefinition overrides) void
void
setAccessType
(AccessType accessType) void
setCacheLazyProperties
(boolean cacheLazyProperties) void
void
setRequested
(boolean requested) toString()
-
Constructor Details
-
Caching
public Caching() -
Caching
-
Caching
public Caching(String region, AccessType accessType, boolean cacheLazyProperties, boolean requested)
-
-
Method Details
-
getRegion
-
setRegion
-
getAccessType
-
setAccessType
-
isCacheLazyProperties
public boolean isCacheLazyProperties() -
setCacheLazyProperties
public void setCacheLazyProperties(boolean cacheLazyProperties) -
isRequested
public boolean isRequested() -
isRequested
public boolean isRequested(boolean defaultValue) -
setRequested
public void setRequested(boolean requested) -
overlay
-
overlay
-
toString
-