org.artofsolving.jodconverter.process
Interface ProcessManager

All Known Implementing Classes:
LinuxProcessManager, PureJavaProcessManager, SigarProcessManager

public interface ProcessManager


Field Summary
static long PID_UNKNOWN
           
 
Method Summary
 long findPid(ProcessQuery query)
           
 void kill(Process process, long pid)
           
 

Field Detail

PID_UNKNOWN

static final long PID_UNKNOWN
See Also:
Constant Field Values
Method Detail

kill

void kill(Process process,
          long pid)
          throws IOException
Throws:
IOException

findPid

long findPid(ProcessQuery query)
             throws IOException
Parameters:
query -
Returns:
the pid or PID_UNKNOWN
Throws:
IOException


Copyright © 2003-2011. All Rights Reserved.