#include <gridclienttopology.hpp>
Public Member Functions | |
| void | update (const TNodesSet &pNodes) |
| void | remove (const TNodesSet &pNodes) |
| TNodesSet | nodes () const |
| const TGridClientNodePtr | node (const GridClientUuid &uuid) const |
| void | reset () |
Protected Attributes | |
| boost::shared_mutex | mux_ |
| TNodesSet | nodes_ |
Topology holder class.
| const TGridClientNodePtr GridClientTopology::node | ( | const GridClientUuid & | uuid | ) | const |
Retrieves a node from topology by id.
| uuid | Node id. |
| TNodesSet GridClientTopology::nodes | ( | ) | const |
Returns current list of nodes in the topology.
| void GridClientTopology::remove | ( | const TNodesSet & | pNodes | ) |
Removes some nodes from current topology.
| void GridClientTopology::reset | ( | ) |
Empties the topology cache. Next topology event will repopulate the cache with the current grid nodes.
| void GridClientTopology::update | ( | const TNodesSet & | pNodes | ) |
Updates current topology with new nodes information.
TNodesSet GridClientTopology::nodes_ [protected] |
Nodes.
1.7.1