Node Director
Public Member Functions | Protected Member Functions | List of all members
sfi.director.util.BackgroundProcessMonitor Class Reference

Monitors background process, logs error output and calls waitFor() if they terminate. More...

Public Member Functions

 BackgroundProcessMonitor (Process process, String id)
 BackgroundProcessMonitor (Process process, String id, boolean logErrors)
 BackgroundProcessMonitor (Process process, String id, boolean logErrors, boolean logTermination)

Protected Member Functions

void monitor ()

Detailed Description

Monitors background process, logs error output and calls waitFor() if they terminate.

Some Java implementations may require Processes to be waited for unless they become zombies.

Constructor & Destructor Documentation

sfi.director.util.BackgroundProcessMonitor.BackgroundProcessMonitor ( Process  process,
String  id 
)
sfi.director.util.BackgroundProcessMonitor.BackgroundProcessMonitor ( Process  process,
String  id,
boolean  logErrors 
)
sfi.director.util.BackgroundProcessMonitor.BackgroundProcessMonitor ( Process  process,
String  id,
boolean  logErrors,
boolean  logTermination 
)

Member Function Documentation

void sfi.director.util.BackgroundProcessMonitor.monitor ( )
protected

The documentation for this class was generated from the following file: