public class RedisDomainDataStorageAccessImpl
extends java.lang.Object
implements org.hibernate.cache.spi.support.DomainDataStorageAccess
限定符和类型 | 字段和说明 |
---|---|
protected RedisCacheEntity<java.lang.Object,java.lang.Object> |
cache |
protected org.apache.commons.logging.Log |
log |
protected RedisClient |
redisClient |
构造器和说明 |
---|
RedisDomainDataStorageAccessImpl(RedisClient redisClient,
RedisCacheEntity<java.lang.Object,java.lang.Object> cache) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
contains(java.lang.Object key) |
void |
evictData() |
void |
evictData(java.lang.Object key) |
java.lang.Object |
getFromCache(java.lang.Object key,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
void |
putIntoCache(java.lang.Object key,
java.lang.Object value,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
void |
release() |
protected final org.apache.commons.logging.Log log
protected final RedisClient redisClient
protected final RedisCacheEntity<java.lang.Object,java.lang.Object> cache
public RedisDomainDataStorageAccessImpl(RedisClient redisClient, RedisCacheEntity<java.lang.Object,java.lang.Object> cache)
public boolean contains(java.lang.Object key)
contains
在接口中 org.hibernate.cache.spi.support.StorageAccess
public java.lang.Object getFromCache(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
getFromCache
在接口中 org.hibernate.cache.spi.support.StorageAccess
public void putIntoCache(java.lang.Object key, java.lang.Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session)
putIntoCache
在接口中 org.hibernate.cache.spi.support.StorageAccess
public void evictData(java.lang.Object key)
evictData
在接口中 org.hibernate.cache.spi.support.StorageAccess
public void evictData()
evictData
在接口中 org.hibernate.cache.spi.support.StorageAccess
public void release()
release
在接口中 org.hibernate.cache.spi.support.StorageAccess