org.crazycake.shiro
类 RedisManager
java.lang.Object
org.crazycake.shiro.BaseRedisManager
org.crazycake.shiro.RedisManager
- 所有已实现的接口:
- IRedisManager
public class RedisManager
- extends BaseRedisManager
- implements IRedisManager
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedisManager
public RedisManager()
getJedis
protected redis.clients.jedis.Jedis getJedis()
- 从类
BaseRedisManager 复制的描述
- We are going to operate redis by acquiring Jedis object.
The subclass should realizes the way to get Jedis objects by implement the getJedis().
- 指定者:
- 类
BaseRedisManager 中的 getJedis
- 返回:
- Jedis
getHost
public String getHost()
setHost
public void setHost(String host)
getPort
public int getPort()
setPort
public void setPort(int port)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int timeout)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getDatabase
public int getDatabase()
setDatabase
public void setDatabase(int database)
getJedisPool
public redis.clients.jedis.JedisPool getJedisPool()
setJedisPool
public void setJedisPool(redis.clients.jedis.JedisPool jedisPool)
Copyright © 2018. All rights reserved.