JSpider(4):Tasks,Events&Visitors

简介:
(1)Tasks--引擎调度,网页解析应该都是通过Tasks实现的

JspiderTasks.jpg

(2)CoreEvents 与 CoreEvents' Visitor--一些核心Event和一个Agent

CoreEvent.jpg

(3)JSpiderEvents 与 JSpiderEvents' visitors--扩展JSpider最需要了解这一块。JSpider提供了3种Visitor,对于特定的应用,需要扩展现有Visitor或者实现自己的Visitor。

EventLayers.jpg


本文转自xiaotie博客园博客,原文链接http://www.cnblogs.com/xiaotie/archive/2005/10/07/249774.html如需转载请自行联系原作者



xiaotie 集异璧实验室(GEBLAB)

相关文章
|
4月前
|
前端开发
The following tasks did not complete: first Did you forget to signal async completion?
The following tasks did not complete: first Did you forget to signal async completion?
|
10月前
[joint_state_publisher-3] process has died
[joint_state_publisher-3] process has died
|
Linux
lvm[12446]: Another thread is handling an event. Waiting
在检查一Linux服务器时,发现日志里面有大量“lvm[12446]: Another thread is handling an event. Waiting...” Jul  4 00:01:42 localhost lvm[12446]: Another thread is handling an event.
1009 0
|
开发者
Dynamic function tracing events
本文翻译自LWN文章“Dynamic function tracing events”,原文[链接](https://lwn.net/Articles/747256/) 从内核引入tracepoint开始,开发者们就对这些tracepoint是否为内核ABI的一部分而发生过争执。过去由于破坏了已有存在依赖的用户态程序,tracepoint相关变更被回退过。同时,对内部代码无法改变的恐慌使得在
1122 0
|
算法 前端开发 弹性计算
译《Time, Clocks, and the Ordering of Events in a Distributed System》
Motivation 《Time, Clocks, and the Ordering of Events in a Distributed System》大概是在分布式领域被引用的最多的一篇Paper了。
875 0
|
关系型数据库 Java MySQL
|
缓存 移动开发 监控