Exemplo n.º 1
0
 private static function ElectNode(EtvaNode $etva_node)
 {
     $cluster_id = $etva_node->getClusterId();
     $etva_cluster = EtvaClusterPeer::retrieveByPK($cluster_id);
     return EtvaNode::getFirstActiveNode($etva_cluster);
 }