getTotalJobCount() public method

Get the total job count since the node instantiation
public getTotalJobCount ( ) : integer
return 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);
 }