remove PriorityScheduler to core
parent
7003426898
commit
c70ed57025
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue