|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openqa.selenium.ProcessUtils
public class ProcessUtils
| Nested Class Summary | |
|---|---|
static class |
ProcessUtils.ProcessStillAliveException
|
| Constructor Summary | |
|---|---|
ProcessUtils()
|
|
| Method Summary | |
|---|---|
static int |
getProcessId(java.lang.Process p)
retrieves the pid |
static void |
kill9(java.lang.Integer pid)
runs "kill -9" on the specified pid |
static void |
kill9(java.lang.Process p)
runs "kill -9" on the specified process |
static int |
killProcess(java.lang.Process process)
Forcibly kills a process, using OS tools like "kill" as a last resort |
static int |
waitForProcessDeath(java.lang.Process p,
long timeout)
Waits the specified timeout for the process to die |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessUtils()
| Method Detail |
|---|
public static int waitForProcessDeath(java.lang.Process p,
long timeout)
public static int killProcess(java.lang.Process process)
public static int getProcessId(java.lang.Process p)
public static void kill9(java.lang.Integer pid)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public static void kill9(java.lang.Process p)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||