Commit f63d33b4 authored by yihua.huang's avatar yihua.huang

update some comments

parent 04fcf319
......@@ -23,10 +23,10 @@ public interface Scheduler {
public void push(Request request, Task task);
/**
* 返回下一个要抓取的链接
* get an url to crawl
*
* @param task 定义的任务,以满足单Scheduler多Task的情况
* @return 下一个要抓取的链接
* @param task the task of spider
* @return the url to crawl
*/
public Request poll(Task task);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment