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 TypeMethodDescriptionboolean
void
void
getFromCache
(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session) void
putIntoCache
(Object key, Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session) void
release()
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.support.DomainDataStorageAccess
putFromLoad
Methods inherited from interface org.hibernate.cache.spi.support.StorageAccess
clearCache, removeFromCache
-
Constructor Details
-
RedissonStorage
-
-
Method Details
-
contains
- Specified by:
contains
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
public void evictData()- Specified by:
evictData
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
- Specified by:
evictData
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
release
public void release()- Specified by:
release
in interfaceorg.hibernate.cache.spi.support.StorageAccess