public class DuplicateTimestampFilter extends Object implements ObjectFilter<CaptureSearchResult>
Modifier and Type | Field and Description |
---|---|
protected int |
bestHttpCode |
protected String |
lastTimestamp |
protected int |
timestampDedupLength |
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
DuplicateTimestampFilter(int timestampDedupLength) |
Modifier and Type | Method and Description |
---|---|
int |
filterObject(CaptureSearchResult o)
inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
|
protected String lastTimestamp
protected int bestHttpCode
protected int timestampDedupLength
public DuplicateTimestampFilter(int timestampDedupLength)
public int filterObject(CaptureSearchResult o)
ObjectFilter
filterObject
in interface ObjectFilter<CaptureSearchResult>
o
- Object which should be checked for inclusion/exclusion or abortCopyright © 2005–2017 IIPC. All rights reserved.