Package tv.hd3g.processlauncher
Class ProcesslauncherLifecycle
java.lang.Object
tv.hd3g.processlauncher.ProcesslauncherLifecycle
-
Method Summary
Modifier and TypeMethodDescriptionwaitForEnd and checks isCorrectlyDonelonggetCPUDuration(TimeUnit unit) longBlocking call until process is really done.getPID()longlongon Windows, return like "HOST_or_DOMAIN"\"username"booleanbooleanisKilled()booleankill()toString()waitForEnd(long timeout, TimeUnit unit)
-
Method Details
-
getExecNameWithoutExt
-
getStartDate
public long getStartDate() -
toString
-
getLauncher
-
getProcess
-
getEndStatus
-
getEndDate
public long getEndDate() -
getUptime
-
getCPUDuration
-
isKilled
public boolean isKilled() -
isTooLongTime
public boolean isTooLongTime() -
kill
-
waitForEnd
-
waitForEnd
-
checkExecution
waitForEnd and checks isCorrectlyDone -
getStdInInjection
-
isCorrectlyDone
public boolean isCorrectlyDone() -
getExitCode
Blocking call until process is really done. Correct: https://github.com/hdsdi3g/processlauncher/issues/1 -
getUserExec
on Windows, return like "HOST_or_DOMAIN"\"username" -
getPID
-
isRunning
-