org.egothor.cache.apps
Class StaticFillerTerms

java.lang.Object
  extended by org.egothor.cache.apps.StaticFillerTerms

public class StaticFillerTerms
extends java.lang.Object

Console application that fills the static cache with inverted lists of terms unit it is full.


Constructor Summary
StaticFillerTerms()
           
 
Method Summary
static void main(java.lang.String[] args)
          Prints to the console terms that are cached inside an inverted list cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticFillerTerms

public StaticFillerTerms()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Prints to the console terms that are cached inside an inverted list cache. Takes four arguments - input file of terms, index location, page size of the inverted list page and the capacity of the static cache.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception - when a problem occurred