摘要: FileResolver Class 解析文件 阅读全文
posted @ 2019-03-18 10:33 cat_with_mouse 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: 初始化 异步操作实现 FileSystemImpl 内部类 BlockingAction, 使用internalBlocking Pool 执行文件阻塞操作, xxxBlocking相关方法在当前主线程操作造成阻塞,尽量避免 AsyncFileImpl FileSystemImpl 的open方法返 阅读全文
posted @ 2019-03-16 15:03 cat_with_mouse 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: eventbus 事件總線 協議棧 TCP分包,粘包解決採用方案: 消息定长(定義消息体總长度),消息分为消息头和消息体 集羣模式 1、Hazelcast 2、Infinispan 3、Apache Ignite 4、Apache Zookeeper Apache Zookeeper 事件注冊流程 阅读全文
posted @ 2019-03-14 11:15 cat_with_mouse 阅读(1588) 评论(0) 推荐(0) 编辑
摘要: Vertx.vertx()实例 一、构造方法 1. VertxImpl构造方法 选择 transports protocol , default select 模型 native transports protocol 2. BlockedThreadChecker线程,检查所有线程阻塞, 观察者模 阅读全文
posted @ 2019-03-14 11:04 cat_with_mouse 阅读(945) 评论(0) 推荐(0) 编辑