java.lang.Object
io.smallrye.common.os.ProcessInfo
Deprecated, for removal: This API element is subject to removal in a future version.
Returns information about a Process
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInfo(long id, String command) Deprecated, for removal: This API element is subject to removal in a future version.Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the process command.longgetId()Deprecated, for removal: This API element is subject to removal in a future version.Returns the process ID.
-
Constructor Details
-
ProcessInfo
Deprecated, for removal: This API element is subject to removal in a future version.Construct a new instance.- Parameters:
id- the process IDcommand- the process command
-
-
Method Details
-
getId
public long getId()Deprecated, for removal: This API element is subject to removal in a future version.Returns the process ID.- Returns:
- the process ID
-
getCommand
Deprecated, for removal: This API element is subject to removal in a future version.Returns the process command.- Returns:
- the process command
-
ProcessHandleAPI instead.