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
Subinterfaces with type arguments of type ProcessHandle in java.langModifier and TypeInterfaceDescriptioninterface
ProcessHandle identifies and provides control of native processes.Methods in java.lang that return ProcessHandleModifier and TypeMethodDescriptionstatic ProcessHandle
ProcessHandle.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 TypeMethodDescriptionint
ProcessHandle.compareTo
(ProcessHandle other) Compares this ProcessHandle with the specified ProcessHandle for order.