org.artofsolving.jodconverter.process
Interface ProcessManager
- All Known Implementing Classes:
- LinuxProcessManager, PureJavaProcessManager, SigarProcessManager
public interface ProcessManager
PID_NOT_FOUND
static final long PID_NOT_FOUND
- See Also:
- Constant Field Values
PID_UNKNOWN
static final long PID_UNKNOWN
- See Also:
- Constant Field Values
kill
void kill(Process process,
long pid)
throws IOException
- Throws:
IOException
findPid
long findPid(ProcessQuery query)
throws IOException
- Parameters:
query -
- Returns:
- the pid if found,
PID_NOT_FOUND if not,
or PID_UNKNOWN if this implementation is unable to find out
- Throws:
IOException
Copyright © 2003-2012. All Rights Reserved.