Class BaseRegion

    • Constructor Detail

    • Method Detail

      • isTransactionAware

        public boolean isTransactionAware()
        Specified by:
        isTransactionAware in interface org.hibernate.cache.spi.TransactionalDataRegion
      • getCacheDataDescription

        public org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
        Specified by:
        getCacheDataDescription in interface org.hibernate.cache.spi.TransactionalDataRegion
      • getName

        public String getName()
        Specified by:
        getName in interface org.hibernate.cache.spi.Region
      • destroy

        public void destroy()
                     throws org.hibernate.cache.CacheException
        Specified by:
        destroy in interface org.hibernate.cache.spi.Region
        Throws:
        org.hibernate.cache.CacheException
      • contains

        public boolean contains​(Object key)
        Specified by:
        contains in interface org.hibernate.cache.spi.Region
      • getSizeInMemory

        public long getSizeInMemory()
        Specified by:
        getSizeInMemory in interface org.hibernate.cache.spi.Region
      • getElementCountInMemory

        public long getElementCountInMemory()
        Specified by:
        getElementCountInMemory in interface org.hibernate.cache.spi.Region
      • getElementCountOnDisk

        public long getElementCountOnDisk()
        Specified by:
        getElementCountOnDisk in interface org.hibernate.cache.spi.Region
      • toMap

        public Map<?,​?> toMap()
        Specified by:
        toMap in interface org.hibernate.cache.spi.Region
      • nextTimestamp

        public long nextTimestamp()
        Specified by:
        nextTimestamp in interface org.hibernate.cache.spi.Region
      • getTimeout

        public int getTimeout()
        Specified by:
        getTimeout in interface org.hibernate.cache.spi.Region
      • get

        public Object get​(org.hibernate.engine.spi.SessionImplementor session,
                          Object key)
                   throws org.hibernate.cache.CacheException
        Specified by:
        get in interface org.hibernate.cache.spi.GeneralDataRegion
        Throws:
        org.hibernate.cache.CacheException
      • put

        public void put​(org.hibernate.engine.spi.SessionImplementor session,
                        Object key,
                        Object value)
                 throws org.hibernate.cache.CacheException
        Specified by:
        put in interface org.hibernate.cache.spi.GeneralDataRegion
        Throws:
        org.hibernate.cache.CacheException
      • evict

        public void evict​(Object key)
                   throws org.hibernate.cache.CacheException
        Specified by:
        evict in interface org.hibernate.cache.spi.GeneralDataRegion
        Throws:
        org.hibernate.cache.CacheException
      • evictAll

        public void evictAll()
                      throws org.hibernate.cache.CacheException
        Specified by:
        evictAll in interface org.hibernate.cache.spi.GeneralDataRegion
        Throws:
        org.hibernate.cache.CacheException