public function allocateProcess($alias, $name, $pid)
{
try {
$record = ['pid' => $pid, 'name' => $name, 'verified' => true];
$this->updateStorage([$alias => $record]);
$this->processes[$alias] = $record;
} catch (Error $ex) {
return false;
} catch (Exception $ex) {
return false;
}
return true;
}