com.sun.labs.minion.test
Class Deleter

java.lang.Object
  extended by com.sun.labs.minion.test.Deleter

public class Deleter
extends java.lang.Object

A class that will delete a set of documents from a list of partitions.


Constructor Summary
Deleter()
           
Deleter(PartitionManager pm, java.util.List<java.lang.Integer> partNums)
           
 
Method Summary
 void doDel(java.lang.String delFile)
           
 java.util.List<DiskPartition> getMerging()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deleter

public Deleter()

Deleter

public Deleter(PartitionManager pm,
               java.util.List<java.lang.Integer> partNums)
Method Detail

getMerging

public java.util.List<DiskPartition> getMerging()

doDel

public void doDel(java.lang.String delFile)
           throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws SearchEngineException,
                        java.io.FileNotFoundException,
                        java.io.IOException
Parameters:
args - the command line arguments
Throws:
SearchEngineException
java.io.FileNotFoundException
java.io.IOException