摘要: 使用Java操作Redis需要jedis-2.1.0.jar,下载地址:http://files.cnblogs.com/liuling/jedis-2.1.0.jar.zip 如果需要使用Redis连接池的话,还需commons-pool-1.5.4.jar,下载地址:http://files.c 阅读全文
posted @ 2016-10-27 01:04 kdy 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 一、server端安装 1、下载 http://redis.io/download 2、下载java驱动包,下载 jedis.jar http://redis.io/clients#java 二、基本功能测试 功能类 测试类 1、key功能 运行结果: 2、String功能 运行结果: 3、List 阅读全文
posted @ 2016-10-27 00:59 kdy 阅读(202) 评论(0) 推荐(0) 编辑