pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.site.search
Class SearchSiteJoblet

java.lang.Object
  extended by org.torweg.pulse.bundle.AbstractJoblet
      extended by org.torweg.pulse.component.core.site.search.SearchSiteJoblet
All Implemented Interfaces:
org.quartz.Job

public class SearchSiteJoblet
extends AbstractJoblet

cleans old SearchSuggestion and SearchFailure objects from the database.

A suggestion or failure is deleted provided that:
importance x timeFactor + lastRecurrence < System.currentTimeMillis()

Uses SearchSiteConfiguration for configuration.

Version:
$Revision: 1537 $
Author:
Thomas Weber
See Also:
SearchSuggestion, SearchFailure, SearchSiteConfiguration

Constructor Summary
SearchSiteJoblet()
           
 
Method Summary
protected  void run(Bundle b)
          starts the cleaning process.
 
Methods inherited from class org.torweg.pulse.bundle.AbstractJoblet
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchSiteJoblet

public SearchSiteJoblet()
Method Detail

run

protected final void run(Bundle b)
starts the cleaning process.

Specified by:
run in class AbstractJoblet
Parameters:
b - the bundle of the joblet
See Also:
AbstractJoblet.run(org.torweg.pulse.bundle.Bundle)