Package org.hibernate.boot
Class CacheRegionDefinition
- java.lang.Object
-
- org.hibernate.boot.CacheRegionDefinition
-
public class CacheRegionDefinition extends java.lang.Object
Models the definition of caching settings for a particular region. Generally as found in either:cfg.xml
hbm.xml
- annotation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CacheRegionDefinition.CacheRegionType
-
Constructor Summary
Constructors Constructor Description CacheRegionDefinition(CacheRegionDefinition.CacheRegionType cacheType, java.lang.String role, java.lang.String usage, java.lang.String region, boolean cacheLazy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRegion()
CacheRegionDefinition.CacheRegionType
getRegionType()
java.lang.String
getRole()
java.lang.String
getUsage()
boolean
isCacheLazy()
-
-
-
Constructor Detail
-
CacheRegionDefinition
public CacheRegionDefinition(CacheRegionDefinition.CacheRegionType cacheType, java.lang.String role, java.lang.String usage, java.lang.String region, boolean cacheLazy)
-
-
Method Detail
-
getRegionType
public CacheRegionDefinition.CacheRegionType getRegionType()
-
getRole
public java.lang.String getRole()
-
getUsage
public java.lang.String getUsage()
-
getRegion
public java.lang.String getRegion()
-
isCacheLazy
public boolean isCacheLazy()
-
-