Class DaemonThreadFactory
java.lang.Object
fr.paris.lutece.portal.service.daemon.DaemonThreadFactory
- All Implemented Interfaces:
ThreadFactory
This class provides a method that creates new threads on demand to run daemon task
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DaemonThreadFactory
public DaemonThreadFactory()
-
-
Method Details
-
newThread
Constructs a new Thread with priority and daemon status- Specified by:
newThreadin interfaceThreadFactory- Parameters:
runnable- a runnable to be executed by new thread instance- Returns:
- constructed thread
-