staticStream<ProcessHandle> | ProcessHandle.allProcesses() | Returns a snapshot of all processes visible to the current process. |
|---|
Stream<ProcessHandle> | Process.children() | Returns a snapshot of the direct children of the process. |
|---|
Stream<ProcessHandle> | ProcessHandle.children() | Returns a snapshot of the current direct children of the process. |
|---|
Stream<ProcessHandle> | Process.descendants() | Returns a snapshot of the descendants of the process. |
|---|
Stream<ProcessHandle> | ProcessHandle.descendants() | Returns a snapshot of the descendants of the process. |
|---|
staticOptional<ProcessHandle> | ProcessHandle.of(long pid) | Returns anOptional<ProcessHandle> for an existing native process. |
|---|
CompletableFuture<ProcessHandle> | ProcessHandle.onExit() | Returns aCompletableFuture<ProcessHandle> for the termination of the process. |
|---|
Optional<ProcessHandle> | ProcessHandle.parent() | Returns anOptional<ProcessHandle> for the parent process. |
|---|