| 程序包 | 说明 |
|---|---|
| com.jfinal.plugin.redis |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Cache |
RedisInterceptor.getCache()
通过继承 RedisInterceptor 类并覆盖此方法,可以指定 当前线程所使用的 cache
|
static Cache |
Redis.use() |
static Cache |
Redis.use(String cacheName) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
ICallback.call(Cache cache) |
Copyright © 2015. All rights reserved.