Package org.redisson.hibernate.region
Class RedissonCollectionRegion
java.lang.Object
org.redisson.hibernate.region.BaseRegion
org.redisson.hibernate.region.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 Summary
ConstructorsConstructorDescriptionRedissonCollectionRegion(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 Summary
Modifier and TypeMethodDescriptionorg.hibernate.cache.spi.access.CollectionRegionAccessStrategybuildAccessStrategy(org.hibernate.cache.spi.access.AccessType accessType) org.hibernate.cache.spi.CacheKeysFactoryMethods inherited from class org.redisson.hibernate.region.BaseRegion
contains, destroy, evict, evictAll, get, getCacheDataDescription, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, isTransactionAware, nextTimestamp, put, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.cache.spi.Region
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMapMethods inherited from interface org.hibernate.cache.spi.TransactionalDataRegion
getCacheDataDescription, isTransactionAware
-
Constructor Details
-
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 Details
-
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:
buildAccessStrategyin interfaceorg.hibernate.cache.spi.CollectionRegion- Throws:
org.hibernate.cache.CacheException
-