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
ConstructorDescriptionRedissonCollectionRegion
(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) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.cache.spi.access.CollectionRegionAccessStrategy
buildAccessStrategy
(org.hibernate.cache.spi.access.AccessType accessType) Methods inherited from class org.redisson.hibernate.region.BaseRegion
contains, destroy, evict, evictAll, get, getCacheDataDescription, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, isTransactionAware, nextTimestamp, put, toMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.cache.spi.Region
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
Methods 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)
-
-
Method Details
-
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 interfaceorg.hibernate.cache.spi.CollectionRegion
- Throws:
org.hibernate.cache.CacheException
-