|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.crawler.util.SetBasedUriUniqFilter org.archive.crawler.util.FPUriUniqFilter
public class FPUriUniqFilter
UriUniqFilter storing 64-bit UURI fingerprints, using an internal LongFPSet instance. The passed LongFPSet internal instance may be disk or memory based. Accesses to the underlying LongFPSet are synchronized.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.archive.crawler.datamodel.UriUniqFilter |
---|
UriUniqFilter.HasUriReceiver |
Field Summary |
---|
Fields inherited from class org.archive.crawler.util.SetBasedUriUniqFilter |
---|
duplicateCount, duplicatesAtLastSample, profileLog, receiver |
Constructor Summary | |
---|---|
FPUriUniqFilter(LongFPSet fpset)
Create FPUriUniqFilter wrapping given long set |
Method Summary | |
---|---|
protected boolean |
setAdd(java.lang.CharSequence uri)
|
protected long |
setCount()
|
protected boolean |
setRemove(java.lang.CharSequence uri)
|
Methods inherited from class org.archive.crawler.util.SetBasedUriUniqFilter |
---|
add, addForce, addNow, close, count, forget, note, pending, profileLog, requestFlush, setDestination, setProfileLog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FPUriUniqFilter(LongFPSet fpset)
fpset
- Method Detail |
---|
protected boolean setAdd(java.lang.CharSequence uri)
setAdd
in class SetBasedUriUniqFilter
protected long setCount()
setCount
in class SetBasedUriUniqFilter
protected boolean setRemove(java.lang.CharSequence uri)
setRemove
in class SetBasedUriUniqFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |