public abstract class VM extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VM.SSH
A remote JVM, launched over SSH.
|
static class |
VM.Watchdog
A VM whose only job is to wait for its parent to be gone, then kill its child process.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
exitWithParent() |
static File |
h2oFolder() |
void |
inheritIO() |
static void |
inheritIO(Process process,
String header) |
boolean |
isAlive() |
void |
kill() |
static void |
persistIO(Process process,
File out,
File err) |
void |
persistIO(String out,
String err) |
Process |
process() |
void |
start() |
int |
waitFor() |
public Process process()
public void inheritIO()
public void persistIO(String out, String err) throws IOException
IOExceptionpublic void start()
public boolean isAlive()
public int waitFor()
public void kill()
public static void exitWithParent()
public static void persistIO(Process process, File out, File err) throws IOException
IOExceptionpublic static File h2oFolder()
Copyright © 2013–2014 0xdata. All rights reserved.