Process trees and termination
roger riggs
roger.riggs at oracle.com
Wed Jun 25 21:52:56 UTC 2014
Hi,
The next step for JEP 102, Process API Updates is to provide an API to
enumerate the hierarchy of processes and to be able to terminate a
process tree.
This draft javadoc <http://bussund0416/%7Erriggs/pdoc/>update [1] includes:
- ProcessHandle class to provide handles to processes, their children,
parent, process id and liveness
- Process extends ProcessHandle and inherits the new behaviors
- Method destroyProcessTree() terminates a process tree
Additional functions related to termination and information about processes
will be added in a later update.
Comments appreciated, Roger
[1] http://cr.openjdk.java.net/~rriggs/ph-apidraft/
More information about the core-libs-dev
mailing list