摘要: string 类型的常用方法: 1 set方法: set 设置key的值为value2 setnx 方法:setnx 当key不存在时,设置key的值为value,设置成功,返回1,设置失败,返回0.3 setex 方法:setex 设置key的值为value,过期时间为... 阅读全文
posted @ 2014-07-08 19:17 shisw 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Introduction to RedisRedis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys ca... 阅读全文
posted @ 2014-07-08 19:03 shisw 阅读(138) 评论(0) 推荐(0) 编辑