org.crazycake.shiro
类 RedisSentinelManager
java.lang.Object
org.crazycake.shiro.BaseRedisManager
org.crazycake.shiro.RedisSentinelManager
- 所有已实现的接口:
- IRedisManager
public class RedisSentinelManager
- extends BaseRedisManager
- implements IRedisManager
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedisSentinelManager
public RedisSentinelManager()
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)
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)
getMasterName
public String getMasterName()
setMasterName
public void setMasterName(String masterName)
getSoTimeout
public int getSoTimeout()
setSoTimeout
public void setSoTimeout(int soTimeout)
Copyright © 2018. All rights reserved.