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