Uses of Interface
java.lang.ProcessHandle
Packages that useProcessHandle
Package
Description
Provides classes that are fundamental to the design of the Javaprogramming language.
Uses ofProcessHandle injava.lang
Subinterfaces with type arguments of typeProcessHandle injava.langModifier and TypeInterfaceDescriptioninterfaceProcessHandle identifies and provides control of native processes.Methods injava.lang that returnProcessHandleModifier and TypeMethodDescriptionstaticProcessHandleProcessHandle.current()Returns a ProcessHandle for the current process.Process.toHandle()Returns a ProcessHandle for the Process.Methods injava.lang that return types with arguments of typeProcessHandleModifier and TypeMethodDescriptionstaticStream<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.staticOptional<ProcessHandle> ProcessHandle.of(long pid) Returns anOptional<ProcessHandle>for an existing native process.ProcessHandle.onExit()Returns aCompletableFuture<ProcessHandle>for the terminationof the process.ProcessHandle.parent()Returns anOptional<ProcessHandle>for the parent process.Methods injava.lang with parameters of typeProcessHandleModifier and TypeMethodDescriptionintProcessHandle.compareTo(ProcessHandle other) Compares this ProcessHandle with the specified ProcessHandle for order.