remove PriorityScheduler to core

master
yihua.huang 2013-08-20 21:55:58 +08:00
parent 7003426898
commit c70ed57025
3 changed files with 2 additions and 4 deletions

View File

@ -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 {
/** /**
* 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