Class RedissonNaturalIdRegion

  • All Implemented Interfaces:
    org.hibernate.cache.spi.GeneralDataRegion, org.hibernate.cache.spi.NaturalIdRegion, org.hibernate.cache.spi.Region, org.hibernate.cache.spi.TransactionalDataRegion

    public class RedissonNaturalIdRegion
    extends BaseRegion
    implements org.hibernate.cache.spi.NaturalIdRegion
    Author:
    Nikita Koksharov
    • Constructor Detail

      • RedissonNaturalIdRegion

        public RedissonNaturalIdRegion​(RMapCache<Object,​Object> mapCache,
                                       ConnectionManager connectionManager,
                                       org.hibernate.cache.spi.RegionFactory regionFactory,
                                       org.hibernate.cache.spi.CacheDataDescription metadata,
                                       org.hibernate.cfg.Settings settings,
                                       Properties properties,
                                       String defaultKey,
                                       org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory)
    • Method Detail

      • getCacheKeysFactory

        public org.hibernate.cache.spi.CacheKeysFactory getCacheKeysFactory()
      • buildAccessStrategy

        public org.hibernate.cache.spi.access.NaturalIdRegionAccessStrategy buildAccessStrategy​(org.hibernate.cache.spi.access.AccessType accessType)
                                                                                         throws org.hibernate.cache.CacheException
        Specified by:
        buildAccessStrategy in interface org.hibernate.cache.spi.NaturalIdRegion
        Throws:
        org.hibernate.cache.CacheException