类 SaRedisCache
java.lang.Object
cn.dev33.satoken.jboot.SaRedisCache
- 所有已实现的接口:
com.jfinal.plugin.activerecord.cache.ICache,io.jboot.components.cache.JbootCache
sa 缓存处理
-
字段概要
字段 -
构造器概要
构造器构造器说明SaRedisCache(io.jboot.support.redis.JbootRedisConfig config) SaRedisCache(redis.clients.jedis.JedisPool jedisPool) -
方法概要
修饰符和类型方法说明<T> T<T> T<T> Tget(String cacheName, Object key, com.jfinal.plugin.ehcache.IDataLoader dataLoader, int liveSeconds) io.jboot.components.cache.JbootCacheConfigredis.clients.jedis.JedisgetJedis()getNames()voidvoidvoidvoidvoidvoidvoidvoidreturnResource(redis.clients.jedis.Jedis jedis) io.jboot.support.redis.RedisScanResult<String>io.jboot.components.cache.JbootCachesetCurrentCacheNamePrefix(String cacheNamePrefix) void
-
字段详细资料
-
config
protected io.jboot.support.redis.JbootRedisConfig config -
jedisPool
protected redis.clients.jedis.JedisPool jedisPool
-
-
构造器详细资料
-
SaRedisCache
public SaRedisCache(io.jboot.support.redis.JbootRedisConfig config) -
SaRedisCache
public SaRedisCache(redis.clients.jedis.JedisPool jedisPool)
-
-
方法详细资料
-
setCurrentCacheNamePrefix
- 指定者:
setCurrentCacheNamePrefix在接口中io.jboot.components.cache.JbootCache
-
removeCurrentCacheNamePrefix
public void removeCurrentCacheNamePrefix()- 指定者:
removeCurrentCacheNamePrefix在接口中io.jboot.components.cache.JbootCache
-
getConfig
public io.jboot.components.cache.JbootCacheConfig getConfig()- 指定者:
getConfig在接口中io.jboot.components.cache.JbootCache
-
get
- 指定者:
get在接口中com.jfinal.plugin.activerecord.cache.ICache- 指定者:
get在接口中io.jboot.components.cache.JbootCache
-
put
- 指定者:
put在接口中com.jfinal.plugin.activerecord.cache.ICache- 指定者:
put在接口中io.jboot.components.cache.JbootCache
-
put
- 指定者:
put在接口中io.jboot.components.cache.JbootCache
-
remove
- 指定者:
remove在接口中com.jfinal.plugin.activerecord.cache.ICache- 指定者:
remove在接口中io.jboot.components.cache.JbootCache
-
removeAll
- 指定者:
removeAll在接口中com.jfinal.plugin.activerecord.cache.ICache- 指定者:
removeAll在接口中io.jboot.components.cache.JbootCache
-
get
- 指定者:
get在接口中io.jboot.components.cache.JbootCache
-
get
public <T> T get(String cacheName, Object key, com.jfinal.plugin.ehcache.IDataLoader dataLoader, int liveSeconds) - 指定者:
get在接口中io.jboot.components.cache.JbootCache
-
getTtl
- 指定者:
getTtl在接口中io.jboot.components.cache.JbootCache
-
setTtl
- 指定者:
setTtl在接口中io.jboot.components.cache.JbootCache
-
refresh
- 指定者:
refresh在接口中io.jboot.components.cache.JbootCache
-
refresh
- 指定者:
refresh在接口中io.jboot.components.cache.JbootCache
-
getNames
- 指定者:
getNames在接口中io.jboot.components.cache.JbootCache
-
getKeys
- 指定者:
getKeys在接口中io.jboot.components.cache.JbootCache
-
getJedis
public redis.clients.jedis.Jedis getJedis() -
returnResource
public void returnResource(redis.clients.jedis.Jedis jedis) -
scan
-