Prose\UsingProcessesTable::addProcess PHP Method

addProcess() public method

addProcess
public addProcess ( string $hostId, object $processDetails ) : void
$hostId string ID of the host where the process is running
$processDetails object Details about the process we're working with
return void
    public function addProcess($hostId, $processDetails)
    {
        $key = $hostId . ":" . $processDetails->pid;
        usingRuntimeTable($this->tableName)->addItem($key, $processDetails);
    }
UsingProcessesTable