Schnittstelle ProcessExtensionPoint
- Alle Superschnittstellen:
org.pf4j.ExtensionPoint
,ExtensionProviderPoint
The ProcessExtensionPoint interface is an extension point for managing processes. It provides methods for creating, stopping, starting, killing, retrieving status, editing processes, and managing process consoles.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
attach
(Process processIO, ProcessConsole consoleIO) Attaches a process to a console for input and output.config()
Return Information about Host Machine (Allowing CPU pinning etc).void
Creates a new process based on the provided Process object.void
Detaches a process from its console for input and output.void
Updates the specified process with new information.void
Executes a command using the given process and command string.void
Kills the process with the given ID.Logs the process information using logback.void
Removes the specified process.void
Starts the process with the given ID.Retrieves the statistics of a given process.Retrieves the status of the process.void
Stops the process with the given ID.Get Volume of the specified process.Von Schnittstelle geerbte Methoden de.bytestore.hostinger.extension.ExtensionProviderPoint
name
-
Methodendetails
-
create
Creates a new process based on the provided Process object.- Parameter:
processIO
- The Process object containing the necessary information for creating a new process.- Löst aus:
Exception
-
remove
Removes the specified process.- Parameter:
processIO
- The process to be removed.
-
volume
Get Volume of the specified process.- Parameter:
volumeIO
-- Gibt zurück:
-
stop
Stops the process with the given ID.- Parameter:
processIO
- The ID of the process to be stopped.- Löst aus:
Exception
-
start
Starts the process with the given ID.- Parameter:
process
- The process to be started.
-
kill
Kills the process with the given ID.- Parameter:
processIO
- The process to be killed.
-
status
Retrieves the status of the process.- Parameter:
processIO
- The process to retrieve the status for.- Gibt zurück:
- The status of the process.
-
edit
Updates the specified process with new information.- Parameter:
processIO
- The process to be updated.
-
attach
Attaches a process to a console for input and output.- Parameter:
processIO
- The process to be attached.consoleIO
- The console to be attached to the process.
-
detach
Detaches a process from its console for input and output.- Parameter:
processIO
- The process to be detached.
-
execute
Executes a command using the given process and command string.- Parameter:
processIO
- The process to execute the command with.commandIO
- The command string to be executed.
-
stats
Retrieves the statistics of a given process.- Parameter:
processIO
- The process to retrieve statistics from.- Gibt zurück:
- The statistics of the given process.
-
logback
Logs the process information using logback.- Parameter:
processIO
- The process to log information from.- Gibt zurück:
- A string representation of the logback output.
-
config
ProcessExtensionConfig config()Return Information about Host Machine (Allowing CPU pinning etc).- Gibt zurück:
-