Uses of Interface
java.lang.ProcessHandle
Packages that use ProcessHandle
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of ProcessHandle in java.lang
Methods in java.lang that return ProcessHandleModifier and TypeMethodDescriptionstatic ProcessHandleProcessHandle.current()Returns a ProcessHandle for the current process.Process.toHandle()Returns a ProcessHandle for the Process.Methods in java.lang that return types with arguments of type ProcessHandleModifier and TypeMethodDescriptionstatic Stream<ProcessHandle>ProcessHandle.allProcesses()Returns a snapshot of all processes visible to the current process.Process.children()Returns a snapshot of the direct children of the process.ProcessHandle.children()Returns a snapshot of the current direct children of the process.Process.descendants()Returns a snapshot of the descendants of the process.ProcessHandle.descendants()Returns a snapshot of the descendants of the process.static Optional<ProcessHandle>ProcessHandle.of(long pid) Returns anOptional<ProcessHandle>for an existing native process.ProcessHandle.onExit()Returns aCompletableFuture<ProcessHandle>for the termination of the process.ProcessHandle.parent()Returns anOptional<ProcessHandle>for the parent process.Methods in java.lang with parameters of type ProcessHandleModifier and TypeMethodDescriptionintProcessHandle.compareTo(ProcessHandle other) Compares this ProcessHandle with the specified ProcessHandle for order.