Class 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
    Though certainly other custom sources are acceptable too.
    • Constructor Detail

      • CacheRegionDefinition

        public CacheRegionDefinition​(CacheRegionDefinition.CacheRegionType cacheType,
                                     java.lang.String role,
                                     java.lang.String usage,
                                     java.lang.String region,
                                     boolean cacheLazy)
    • Method Detail

      • getRole

        public java.lang.String getRole()
      • getUsage

        public java.lang.String getUsage()
      • getRegion

        public java.lang.String getRegion()
      • isCacheLazy

        public boolean isCacheLazy()