1 23 package org.archive.crawler.datamodel; 24 25 import java.io.File ; 26 27 40 public interface UriUniqFilter { 41 44 public long count(); 45 46 55 public long pending(); 56 57 64 public void setDestination(HasUriReceiver receiver); 65 66 73 public void add(String key, CandidateURI value); 74 75 82 public void addNow(String key, CandidateURI value); 83 84 98 public void addForce(String key, CandidateURI value); 99 100 106 public void note(String key); 107 108 115 public void forget(String key, CandidateURI value); 116 117 124 public long requestFlush(); 125 126 130 public void close(); 131 132 135 public void setProfileLog(File logfile); 136 137 143 public interface HasUriReceiver { 144 147 public void receive(CandidateURI item); 148 } 149 } | Popular Tags |