Signed-off-by: elvin-henry <lxreh3@gmail.com>
This commit is contained in:
parent
8a35346791
commit
5f10ddb3db
@ -333,10 +333,6 @@ public class JedisUtil {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
}
|
||||
public static void lpush(String key, String value) {
|
||||
if (isBlank(key))
|
||||
return;
|
||||
@ -377,4 +373,9 @@ public class JedisUtil {
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
JedisUtil.set("lxr", "hah lixiangrong");
|
||||
System.out.println(JedisUtil.getStr("lxr"));
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ redis.pool.maxIdle=200
|
||||
redis.pool.maxWait=1000
|
||||
redis.pool.testOnBorrow=true
|
||||
redis.pool.testOnReturn=true
|
||||
redis.ip=192.168.3.140
|
||||
#redis.ip=pxene12
|
||||
redis.port=7389
|
||||
redis.ip=centos-001
|
||||
redis.port=7379
|
||||
redis.password=
|
Loading…
Reference in New Issue
Block a user