public interface ProcessManager
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
PID_NOT_FOUND |
static long |
PID_UNKNOWN |
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 © 2019. All rights reserved.