cassandra-执行请求入口函数

参考 http://ju.outofmemory.cn/entry/115864

org.apache.cassandra.transport.Message中静态Dispatcher的 channelRead0()方法。

 

读写都从该方法入口,具体调用路径见参考文档。

通过在该方法打印语句,并重新编译启用服务端后,任何请求都会使得服务端打印出语句。

 

那么,谁调用 channelRead0 呢?

posted on 2016-12-11 17:34  longbigfish  阅读(122)  评论(0编辑  收藏  举报

导航