Package org.redisson.hibernate
Class RedissonStorage
java.lang.Object
org.redisson.hibernate.RedissonStorage
- All Implemented Interfaces:
org.hibernate.cache.spi.support.DomainDataStorageAccess,org.hibernate.cache.spi.support.StorageAccess
public class RedissonStorage
extends Object
implements org.hibernate.cache.spi.support.DomainDataStorageAccess
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionRedissonStorage(RMapCache<Object, Object> mapCache, ServiceManager serviceManager, Map<String, Object> properties, String defaultKey) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidgetFromCache(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session) voidputIntoCache(Object key, Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session) voidrelease()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.cache.spi.support.DomainDataStorageAccess
putFromLoadMethods inherited from interface org.hibernate.cache.spi.support.StorageAccess
clearCache, removeFromCache
-
Constructor Details
-
RedissonStorage
-
-
Method Details
-
contains
- Specified by:
containsin interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
public void evictData()- Specified by:
evictDatain interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
- Specified by:
evictDatain interfaceorg.hibernate.cache.spi.support.StorageAccess
-
release
public void release()- Specified by:
releasein interfaceorg.hibernate.cache.spi.support.StorageAccess