addJobCount() public method

Increase the node job counts by the given number
public addJobCount ( integer $jobsAdded )
$jobsAdded integer
Exemplo n.º 1
0
 /**
  * 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);
 }