public interface ProcessManager
| Modifier and Type | Field and Description |
|---|---|
static long |
PID_NOT_FOUND |
static long |
PID_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
long |
findPid(ProcessQuery query) |
void |
kill(Process process,
long pid) |
static final long PID_NOT_FOUND
static final long PID_UNKNOWN
void kill(Process process, long pid) throws IOException
IOExceptionlong findPid(ProcessQuery query) throws IOException
query - PID_NOT_FOUND if not,
or PID_UNKNOWN if this implementation is unable to find outIOExceptionCopyright © 2003–2015. All rights reserved.