fr.paris.lutece.plugins.ods.service.search
Class SearchIndexerDaemon<GSeance extends ISeance,GSeanceFilter extends ISeanceFilter,GElu extends IElu,GFichier extends IFichier<GSeance,GFichier>,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GPDD extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>>
java.lang.Object
fr.paris.lutece.portal.service.daemon.Daemon
fr.paris.lutece.plugins.ods.service.search.SearchIndexerDaemon<GSeance,GSeanceFilter,GElu,GFichier,GVoeuAmendement,GPDD>
- All Implemented Interfaces:
- java.lang.Runnable
public class SearchIndexerDaemon<GSeance extends ISeance,GSeanceFilter extends ISeanceFilter,GElu extends IElu,GFichier extends IFichier<GSeance,GFichier>,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GPDD extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>>
- extends fr.paris.lutece.portal.service.daemon.Daemon
Daemon d'indexation: lance à intervalle régulier l'indexation incrémentale.
A la première éxécution le daemon crée l'index sur le serveur; cet index sera unique par machine serveur
même en cas de plusieurs serveurs Tomcat sur une seule et même machine.
| Fields inherited from class fr.paris.lutece.portal.service.daemon.Daemon |
RESULT_FAILED, RESULT_PROCESSING, RESULT_SUCCESS, RESULT_UNKNOWN, STATUS_RUNNING, STATUS_STOPPED |
|
Method Summary |
protected void |
changeSeance(ISeance prochaineSeance,
Indexer indexer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Fonction qui ajoute les documents de la séance passée à l'index des archives,
et réinitialise l'index prochaine séance |
void |
run()
Lance l'indexation à intervalle régulier |
| Methods inherited from class fr.paris.lutece.portal.service.daemon.Daemon |
getLastRunLogs, getPluginName, getResult, setLastRunLogs, setPluginName, setResult |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_INDEXER_NAME
protected static final java.lang.String PROPERTY_INDEXER_NAME
- See Also:
- Constant Field Values
_nIdSeance
protected int _nIdSeance
_indexerHome
protected IndexerHome _indexerHome
_indexerActionHome
protected IndexerActionHome _indexerActionHome
SearchIndexerDaemon
public SearchIndexerDaemon()
run
public void run()
- Lance l'indexation à intervalle régulier
changeSeance
protected void changeSeance(ISeance prochaineSeance,
Indexer indexer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Fonction qui ajoute les documents de la séance passée à l'index des archives,
et réinitialise l'index prochaine séance
- Parameters:
prochaineSeance - la prochaine séanceindexer - l'indexerplugin - le plugin
Copyright © 2010 Mairie de Paris. All Rights Reserved.