java.lang.Object org.supermind.crawl.util.MapFilePersister<java.lang.Long,org.apache.nutch.io.NullWritable> org.supermind.crawl.util.LongPersister org.supermind.crawl.util.MapFileScatterPurger
public class MapFileScatterPurger
Persists evicted scatter table entries to a Nutch MapFile.
Field Summary |
---|
Fields inherited from class org.supermind.crawl.util.MapFilePersister |
---|
baseDir, buffer, bufferIdx, LOG, mapdir, mapdirFile, maxBufferSize, nfs, overwrite, reader |
Fields inherited from interface org.supermind.crawl.util.ScatterPurger |
---|
NO_OP |
Constructor Summary | |
---|---|
MapFileScatterPurger()
|
Method Summary | |
---|---|
void |
purge(ChainedScatterTable table,
int i,
long value)
|
Methods inherited from class org.supermind.crawl.util.LongPersister |
---|
add, contains, getKeyComparator, getKeyInstance, getTypeComparator |
Methods inherited from class org.supermind.crawl.util.MapFilePersister |
---|
add, close, flushToDisk, getValueInstance, init, setBaseDir, setMaxBufferSize, setNfs, setOverwrite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.supermind.crawl.util.ScatterPurger |
---|
close, contains |
Constructor Detail |
---|
public MapFileScatterPurger()
Method Detail |
---|
public void purge(ChainedScatterTable table, int i, long value) throws java.io.IOException
purge
in interface ScatterPurger
java.io.IOException