Class DaemonThread
- java.lang.Object
-
- fr.paris.lutece.portal.service.daemon.DaemonThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class DaemonThread extends java.lang.Object implements java.lang.RunnableThis class performs methods to manage threads of execution for a given daemon instance
-
-
Constructor Summary
Constructors Constructor Description DaemonThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDaemonName()Get the daemon namevoidrun()Execution process of the daemon associated with the thread This methods is called for regular intervalvoidsetDaemonEntry(DaemonEntry entry)Sets the daemon entry
-
-
-
Method Detail
-
setDaemonEntry
public void setDaemonEntry(DaemonEntry entry)
Sets the daemon entry- Parameters:
entry- The entry
-
getDaemonName
public java.lang.String getDaemonName()
Get the daemon name- Returns:
- the daemon name
-
run
public void run()
Execution process of the daemon associated with the thread This methods is called for regular interval- Specified by:
runin interfacejava.lang.Runnable
-
-