public class LevelLimitScheduler extends PriorityScheduler
INITIAL_CAPACITY
logger
Constructor and Description |
---|
LevelLimitScheduler(int levelLimit) |
Modifier and Type | Method and Description |
---|---|
void |
push(Request request,
Task task)
add a url to fetch
|
getLeftRequestsCount, getTotalRequestsCount, poll, pushWhenNoDuplicate
getDuplicateRemover, noNeedToRemoveDuplicate, setDuplicateRemover, shouldReserved
Copyright © 2017. All rights reserved.