|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.crazycake.shiro.RedisManager
public class RedisManager
构造方法摘要 | |
---|---|
RedisManager()
|
方法摘要 | |
---|---|
Long |
dbSize()
size |
void |
del(byte[] key)
del |
void |
flushDB()
flush |
byte[] |
get(byte[] key)
get value from redis |
int |
getExpire()
|
String |
getHost()
|
int |
getPort()
|
void |
init()
初始化方法 |
Set<byte[]> |
keys(String pattern)
keys |
byte[] |
set(byte[] key,
byte[] value)
set |
byte[] |
set(byte[] key,
byte[] value,
int expire)
set |
void |
setExpire(int expire)
|
void |
setHost(String host)
|
void |
setPort(int port)
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public RedisManager()
方法详细信息 |
---|
public void init()
public byte[] get(byte[] key)
key
-
public byte[] set(byte[] key, byte[] value)
key
- value
-
public byte[] set(byte[] key, byte[] value, int expire)
key
- value
- expire
-
public void del(byte[] key)
key
- public void flushDB()
public Long dbSize()
public Set<byte[]> keys(String pattern)
regex
-
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public int getExpire()
public void setExpire(int expire)
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |