Node Director
|
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 () |
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.
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 | ||
) |
|
protected |