org.crazycake.shiro
类 RedisSentinelManager

java.lang.Object
  继承者 org.crazycake.shiro.BaseRedisManager
      继承者 org.crazycake.shiro.RedisSentinelManager
所有已实现的接口:
IRedisManager

public class RedisSentinelManager
extends BaseRedisManager
implements IRedisManager


字段摘要
 
从类 org.crazycake.shiro.BaseRedisManager 继承的字段
DEFAULT_COUNT, DEFAULT_EXPIRE
 
构造方法摘要
RedisSentinelManager()
           
 
方法摘要
 int getDatabase()
           
 String getHost()
           
protected  redis.clients.jedis.Jedis getJedis()
          We are going to operate redis by acquiring Jedis object.
 String getMasterName()
           
 String getPassword()
           
 int getSoTimeout()
           
 int getTimeout()
           
 void setDatabase(int database)
           
 void setHost(String host)
           
 void setMasterName(String masterName)
           
 void setPassword(String password)
           
 void setSoTimeout(int soTimeout)
           
 void setTimeout(int timeout)
           
 
从类 org.crazycake.shiro.BaseRedisManager 继承的方法
dbSize, del, get, getCount, getJedisPoolConfig, keys, set, setCount, setJedisPoolConfig
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.crazycake.shiro.IRedisManager 继承的方法
dbSize, del, get, keys, set
 

构造方法详细信息

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.