Uses of Class
com.tccc.kos.core.service.spawn.SpawnProcess
Packages that use SpawnProcess
Package
Description
Contains classes related to spawning processes and services.
-
Uses of SpawnProcess in com.tccc.kos.core.service.spawn
Subclasses of SpawnProcess in com.tccc.kos.core.service.spawnModifier and TypeClassDescriptionclass
SpecializedSpawnProcess
designed around starting adapters.Methods in com.tccc.kos.core.service.spawn that return SpawnProcessModifier and TypeMethodDescriptionAdd a command line argument.Set the group that the program should be run as.SpawnProcess.setLogFile
(String logFile) Redirect stdout/stderr to the specified file name in the/mnt/logs
directory.Set the path to the executable.Set the path to the executable.Set the user (and group) that the program should be run as.Adapter.setWorkingDir
(File dir) Adapter.setWorkingDir
(String path) SpawnProcess.setWorkingDir
(File dir) Set the working directory.SpawnProcess.setWorkingDir
(String path) Set the working directory.Methods in com.tccc.kos.core.service.spawn that return types with arguments of type SpawnProcessModifier and TypeMethodDescriptionSpawnService.getProcesses
(NodeId nodeId) Return a list of processes that are currently expected to be running on the specified node.Methods in com.tccc.kos.core.service.spawn with parameters of type SpawnProcessModifier and TypeMethodDescriptionvoid
SpawnService.addProcess
(SpawnProcess process) Add a process to the spawn list.void
SpawnService.addProcess
(SpawnProcess process, NodeId nodeId) Add a process to the spawn list.void
SpawnService.removeProcess
(SpawnProcess process) Remove a process from the spawn list.void
SpawnService.restartProcess
(SpawnProcess process) Restart the specified process.void
SpawnService.setPriority
(SpawnProcess process, int priority) Set the priority of the specified process.