Package org.hibernate.boot
Class CacheRegionDefinition
- java.lang.Object
-
- org.hibernate.boot.CacheRegionDefinition
-
public class CacheRegionDefinition extends java.lang.ObjectModels the definition of caching settings for a particular region. Generally as found in either:cfg.xmlhbm.xml- annotation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheRegionDefinition.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.StringgetRegion()CacheRegionDefinition.CacheRegionTypegetRegionType()java.lang.StringgetRole()java.lang.StringgetUsage()booleanisCacheLazy()
-
-
-
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()
-
-