Raccoon.SE
Class HistoryCleaner

java.lang.Object
  extended byjava.lang.Thread
      extended byRaccoon.SE.HistoryCleaner
All Implemented Interfaces:
java.lang.Runnable

public class HistoryCleaner
extends java.lang.Thread

Search history cleaner. It periodically checks the search histroy of the * search engine, and remove those entries older than specified age * @author Jia Li *


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
HistoryCleaner(java.util.Hashtable history)
           
HistoryCleaner(java.util.Hashtable history, long newInterval)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryCleaner

public HistoryCleaner(java.util.Hashtable history)

HistoryCleaner

public HistoryCleaner(java.util.Hashtable history,
                      long newInterval)
Method Detail

run

public void run()