Increase the node job counts by the given number
public addJobCount ( integer $jobsAdded ) | ||
$jobsAdded | integer |
/** * Copy node stats from the old to the new node * * @param Node $oldNode * @param Node $newNode */ private function copyNodeStats(Node $oldNode, Node $newNode) { $oldNodeJobCount = $oldNode->getTotalJobCount(); $newNode->addJobCount($oldNodeJobCount); }