public class HashSetDuplicateRemover extends Object implements DuplicateRemover
Constructor and Description |
---|
HashSetDuplicateRemover() |
Modifier and Type | Method and Description |
---|---|
int |
getTotalRequestsCount(Task task)
Get TotalRequestsCount for monitor.
|
protected String |
getUrl(Request request) |
boolean |
isDuplicate(Request request,
Task task)
Check whether the request is duplicate.
|
void |
resetDuplicateCheck(Task task)
Reset duplicate check.
|
public boolean isDuplicate(Request request, Task task)
DuplicateRemover
isDuplicate
in interface DuplicateRemover
request
- requesttask
- taskpublic void resetDuplicateCheck(Task task)
DuplicateRemover
resetDuplicateCheck
in interface DuplicateRemover
task
- taskpublic int getTotalRequestsCount(Task task)
DuplicateRemover
getTotalRequestsCount
in interface DuplicateRemover
task
- taskCopyright © 2017. All rights reserved.