Package org.apache.karaf.jpm
Interface Process
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ProcessImpl
public interface Process extends Serializable
Interface representing a process
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()Destroy the process.intgetPid()Retrieves the PID of the processbooleanisRunning()Check if this process is still running
-
-
-
Method Detail
-
getPid
int getPid()
Retrieves the PID of the process- Returns:
- the pid
-
isRunning
boolean isRunning() throws IOExceptionCheck if this process is still running- Returns:
trueif the process is running- Throws:
IOException- if an error occurs
-
destroy
void destroy() throws IOExceptionDestroy the process.- Throws:
IOException- If an error occurs.
-
-