public class MybatisRedisCache
extends java.lang.Object
implements org.apache.ibatis.cache.Cache
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
id |
private java.util.concurrent.locks.ReadWriteLock |
readWriteLock |
protected RedisClient |
redisClient |
构造器和说明 |
---|
MybatisRedisCache(java.lang.String id) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
java.lang.String |
getId() |
java.lang.Object |
getObject(java.lang.Object key) |
java.util.concurrent.locks.ReadWriteLock |
getReadWriteLock() |
int |
getSize() |
void |
putObject(java.lang.Object key,
java.lang.Object value) |
java.lang.Object |
removeObject(java.lang.Object key) |
private final java.util.concurrent.locks.ReadWriteLock readWriteLock
protected RedisClient redisClient
private java.lang.String id
public java.lang.String getId()
getId
在接口中 org.apache.ibatis.cache.Cache
public void putObject(java.lang.Object key, java.lang.Object value)
putObject
在接口中 org.apache.ibatis.cache.Cache
public java.lang.Object getObject(java.lang.Object key)
getObject
在接口中 org.apache.ibatis.cache.Cache
public java.lang.Object removeObject(java.lang.Object key)
removeObject
在接口中 org.apache.ibatis.cache.Cache
public void clear()
clear
在接口中 org.apache.ibatis.cache.Cache
public int getSize()
getSize
在接口中 org.apache.ibatis.cache.Cache
public java.util.concurrent.locks.ReadWriteLock getReadWriteLock()
getReadWriteLock
在接口中 org.apache.ibatis.cache.Cache