public class PureJavaProcessManager extends Object implements ProcessManager
Modifier and Type | Field and Description |
---|---|
protected static boolean |
PID_ENABLED |
Constructor and Description |
---|
PureJavaProcessManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
canFindPid() |
String |
findPid(String regex) |
void |
kill(Process process,
String pid) |
protected static final boolean PID_ENABLED
public PureJavaProcessManager()
public String findPid(String regex)
findPid
in interface ProcessManager
public void kill(Process process, String pid)
kill
in interface ProcessManager
public boolean canFindPid()
canFindPid
in interface ProcessManager
Copyright © 2018 Nuxeo. All rights reserved.