Class RedissonCollectionRegion

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

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

      • RedissonCollectionRegion

        public RedissonCollectionRegion​(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.CollectionRegionAccessStrategy buildAccessStrategy​(org.hibernate.cache.spi.access.AccessType accessType)
                                                                                          throws org.hibernate.cache.CacheException
        Specified by:
        buildAccessStrategy in interface org.hibernate.cache.spi.CollectionRegion
        Throws:
        org.hibernate.cache.CacheException