Process trees and termination (original) (raw)
Paul Benedict pbenedict at apache.org
Thu Jun 26 13:43:28 UTC 2014
- Previous message: Process trees and termination
- Next message: Process trees and termination
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a question on the way this is modeled. By introducing a superclass, Process becomes a type of ProcessHandle. That doesn't seem right to me. I expect a Process to have a handle (not be one). Also I think these operations may make more sense as an interface.
Cheers, Paul
On Wed, Jun 25, 2014 at 4:52 PM, roger riggs <roger.riggs at oracle.com> wrote:
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/
- Previous message: Process trees and termination
- Next message: Process trees and termination
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]