摘要: 1. 指针变量的声明,赋值分步 2. swap函数 3. 指针操作数组(比直接操作数组速度快) 4. strlen的c指针实现 阅读全文
posted @ 2016-06-22 17:46 lj72808up 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. 启动类 2. MasterActor创建map,reduce,aggregate任务的actor 3. map任务 4. reduce任务 5. aggregate任务 6. 用到的实体类 阅读全文
posted @ 2016-06-22 11:16 lj72808up 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1. future的所有方法都是非阻塞立即返回的 (1)future都要有TimeOut和ExecutionContextExecutor这2个隐士参数 (2)打印future 2. 用Await.result等待future返回 阅读全文
posted @ 2016-06-22 10:55 lj72808up 阅读(286) 评论(0) 推荐(0) 编辑