7. Redis-String..........................................................................................................................................8
8. Redis-List..............................................................................................................................................9
9. Redis-Set.............................................................................................................................................10
10. Redis-Hash........................................................................................................................................11
1. hset/hget/hmset/hmget/hgetall/hdel...............................................................................................11
2. hlen......................................................................................................................................................11
3. hexists key field.................................................................................................................................11
4. hkeys/hvals........................................................................................................................................12
5. hincrby/hincrbyfloat...........................................................................................................................12
6. hsetnx(不存在再添加).......................................................................................................................12
11. Redis-Zset(有序集合 sorted set)......................................................................................................12
在 set 基础上,加一个 score 值...........................................................................................................12
12. redis 配置文件..................................................................................................................................13
1. config...................................................................................................................................................13
2. maxmemory-policy(redis 设置过期 key 的几种策略)..............................................................13
13. redis 持久化之 RDB.........................................................................................................................14
1. save <seconds> <changes>...........................................................................................................14
3. 如何停止.............................................................................................................................................14
14. redis 持久化之 AOF.........................................................................................................................14
1. 配置.....................................................................................................................................................14
2. AOF 恢复............................................................................................................................................14
3. rewrite.................................................................................................................................................15
15. redis 事务..........................................................................................................................................15
1. redis 事务命令....................................................................................................................................15
2. 全体连坐和冤头债主.........................................................................................................................15
3. Optimistic locking using check-and-set.........................................................................................15
4. redis 事务特性....................................................................................................................................15
16. redis 实现消息中间件......................................................................................................................16
17. redis 主从复制..................................................................................................................................16
1. 命令.....................................................................................................................................................16
2. 复制原理.............................................................................................................................................16
18. redis 哨兵模式(sentinel).............................................................................................................16
19. Jedis...................................................................................................................................................17
1. TestPing.............................................................................................................................................17
2. TestAPI...............................................................................................................................................17
3. TestTX................................................................................................................................................17
4. TestMasterSlaver..............................................................................................................................19
5. TestPool.............................................................................................................................................19
评论0
最新资源