Redis
iwangchengyi
这个作者很懒,什么都没留下…
展开
-
redis 安装测试
安装redis, 1:从官网下载程序 redis-2.4.15.tar.gz 2:解压 tar xvzf redis-2.4.15.tar.gz 3:安装 make 4:测试 make test 运行此命令时出现错误提示: You need 'tclsh8.5' in order to run the Redis test...原创 2012-07-17 21:27:12 · 52 阅读 · 0 评论 -
Redis入门教程 - 数据类型
安装Redis之后大家肯定都试过 get set 命令了,也了解了最基本的数据类型字符串,下面让我们认识以下 Redis 中的其他成员吧。 二进制安全(Binary-safe)的字符串(String) 二进制安全的字符串列表(List) 二进制安全的字符串集合(Set) 有序的集合(Sorted Set) ...原创 2012-07-18 13:51:33 · 97 阅读 · 0 评论 -
Redis入门 – 数据类型 – hashes
Redis入门 – 数据类型 – hashes 原文地址:http://alanland.iteye.com/admin/blogs/1599419(转载请注明) 本文介绍 Redis 的数据类型 hashes,文中的例子在 http://redis.io/commands/ 进行录入的。 hashes就像java中的 Map,python中的Dict这样的...2012-07-18 23:09:58 · 84 阅读 · 0 评论 -
Redis入门 – Jave客户端 Jedis 使用
Redis入门 – Jave客户端 Jedis 使用 原文地址:http://alanland.iteye.com/admin/blogs/1600434(转载请注明) 07/19/12 12:42:52 PM Redis 的Java客户端有很多个,官网上标星星的是Jedis,项目地址是:https://github.com/xetorthio/jedi...原创 2012-07-19 12:43:56 · 81 阅读 · 0 评论 -
Redis入门 – Jedis存储Java对象 - (Java序列化为byte数组方式)
Redis入门 – Jedis存储Java对象 - (Java序列化为byte数组方式) 原文地址:http://alanland.iteye.com/admin/blogs/1600685(欢迎转载 - 转载请保留该原文链接) 07/19/12 03:08:05 PM 在Jedis开发中,我们很多时候希望直接把一个对象放到Redis中,然后在需要的时候取...原创 2012-07-19 15:02:06 · 630 阅读 · 0 评论