org.supermind.crawl.util
Class MapFileScatterPurger

java.lang.Object
  extended by org.supermind.crawl.util.MapFilePersister<java.lang.Long,org.apache.nutch.io.NullWritable>
      extended by org.supermind.crawl.util.LongPersister
          extended by org.supermind.crawl.util.MapFileScatterPurger
All Implemented Interfaces:
ScatterPurger

public class MapFileScatterPurger
extends LongPersister
implements ScatterPurger

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

MapFileScatterPurger

public MapFileScatterPurger()
Method Detail

purge

public void purge(ChainedScatterTable table,
                  int i,
                  long value)
           throws java.io.IOException
Specified by:
purge in interface ScatterPurger
Throws:
java.io.IOException