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

remove PriorityScheduler to core

parent 70034268
...@@ -27,10 +27,8 @@ public class Request implements Serializable { ...@@ -27,10 +27,8 @@ public class Request implements Serializable {
/** /**
* Priority of the request.<br> * Priority of the request.<br>
* The bigger will be processed earlier. <br> * The bigger will be processed earlier. <br>
* Need a scheduler supporting priority.<br> * @see us.codecraft.webmagic.scheduler.PriorityScheduler
* But no scheduler in webmagic supporting priority now (:
*/ */
@Experimental
private long priority; private long priority;
public Request() { public Request() {
...@@ -47,7 +45,7 @@ public class Request implements Serializable { ...@@ -47,7 +45,7 @@ public class Request implements Serializable {
/** /**
* Set the priority of request for sorting.<br> * Set the priority of request for sorting.<br>
* Need a scheduler supporting priority.<br> * Need a scheduler supporting priority.<br>
* But no scheduler in webmagic supporting priority now (: * @see us.codecraft.webmagic.scheduler.PriorityScheduler
* *
* @param priority * @param priority
* @return this * @return this
......
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