public class RedisCachePool extends redis.clients.jedis.JedisPool implements Serializable
缓存池
Description:主要作用于JedisPool的实例化和提供获取当前池内缓存对象功能
| 构造器和说明 |
|---|
RedisCachePool(RedisCacheConfigFactory factory)
Constructs a new RedisCache instance with the given factory.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RedisCache |
getCache_Ex(String name)
已过时。
|
RedisCache |
getCache(String name)
Alternative scheme of method
getCache_Ex(String) |
int |
getDatabaseIndex() |
void |
setDatabaseIndex(int databaseIndex) |
public RedisCachePool(RedisCacheConfigFactory factory)
@Deprecated public RedisCache getCache_Ex(String name)
public int getDatabaseIndex()
public void setDatabaseIndex(int databaseIndex)
public RedisCache getCache(String name)
getCache_Ex(String)Copyright © 2018. All rights reserved.