2021年1月21日

Redis源码之常见数据结构--ClusterNode

摘要: typedef struct redisDb { dict *dict; /* The keyspace for this DB */ dict *expires; /* Timeout of keys with a timeout set */ dict *blocking_keys; /* Ke 阅读全文

posted @ 2021-01-21 15:12 MaXianZhe 阅读(222) 评论(0) 推荐(0) 编辑

Netty之写成功后是怎么收到通知的

摘要: 有时候使用Netty要发送的两个消息有依赖关系,第一个发送成功才能发送第二个,代码里是可以这么写的 ChannelFuture channelFuture = ch.writeAndFlush(line + "\r\n"); channelFuture.addListener(new Generic 阅读全文

posted @ 2021-01-21 14:50 MaXianZhe 阅读(479) 评论(0) 推荐(0) 编辑

导航