Package org.redisson.hibernate.region
Class RedissonNaturalIdRegion
java.lang.Object
org.redisson.hibernate.region.BaseRegion
org.redisson.hibernate.region.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 Summary
ConstructorsConstructorDescriptionRedissonNaturalIdRegion(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.NaturalIdRegionAccessStrategybuildAccessStrategy(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
-
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 Details
-
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:
buildAccessStrategyin interfaceorg.hibernate.cache.spi.NaturalIdRegion- Throws:
org.hibernate.cache.CacheException
-