Signed-off-by: elvin-henry <lxreh3@gmail.com>

This commit is contained in:
elvin-henry 2016-03-19 14:24:25 +08:00
parent 8a35346791
commit 5f10ddb3db
2 changed files with 7 additions and 7 deletions

View File

@ -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"));
}
}

View File

@ -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=