org.crazycake.shiro
类 RedisManager

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

public class RedisManager
extends BaseRedisManager
implements IRedisManager


字段摘要
 
从类 org.crazycake.shiro.BaseRedisManager 继承的字段
DEFAULT_COUNT, DEFAULT_EXPIRE
 
构造方法摘要
RedisManager()
           
 
方法摘要
 int getDatabase()
           
 String getHost()
           
protected  redis.clients.jedis.Jedis getJedis()
          We are going to operate redis by acquiring Jedis object.
 redis.clients.jedis.JedisPool getJedisPool()
           
 String getPassword()
           
 int getPort()
           
 int getTimeout()
           
 void setDatabase(int database)
           
 void setHost(String host)
           
 void setJedisPool(redis.clients.jedis.JedisPool jedisPool)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 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
 

构造方法详细信息

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.