org.artofsolving.jodconverter.process
Interface ProcessManager

All Known Implementing Classes:
LinuxProcessManager, PureJavaProcessManager, SigarProcessManager

public interface ProcessManager


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

Field Detail

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
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 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.