Uses of Interface
java.lang.ProcessHandle
-
Packages that use ProcessHandle 软件包 描述 java.lang 提供对Java编程语言设计至关重要的类。 -
-
Uses of ProcessHandle in java.lang
Methods in java.lang that return ProcessHandle Modifier and Type 方法 描述 static ProcessHandle
ProcessHandle. current()
返回当前进程的ProcessHandle。ProcessHandle
Process. toHandle()
返回进程的ProcessHandle。Methods in java.lang that return types with arguments of type ProcessHandle Modifier and Type 方法 描述 static Stream<ProcessHandle>
ProcessHandle. allProcesses()
返回当前进程可见的所有进程的快照。Stream<ProcessHandle>
Process. children()
返回进程的直接子节点的快照。Stream<ProcessHandle>
ProcessHandle. children()
返回进程当前直接子节点的快照。Stream<ProcessHandle>
Process. descendants()
返回进程后代的快照。Stream<ProcessHandle>
ProcessHandle. descendants()
返回进程后代的快照。static Optional<ProcessHandle>
ProcessHandle. of(long pid)
返回现有本机进程的Optional<ProcessHandle>
。CompletableFuture<ProcessHandle>
ProcessHandle. onExit()
返回一个CompletableFuture<ProcessHandle>
用于终止进程。Optional<ProcessHandle>
ProcessHandle. parent()
返回父进程的Optional<ProcessHandle>
。Methods in java.lang with parameters of type ProcessHandle Modifier and Type 方法 描述 int
ProcessHandle. compareTo(ProcessHandle other)
将此ProcessHandle与指定的ProcessHandle进行比较。
-