#include <cluster_node.h>
◆ cluster_node()
| ignite::cluster_node::cluster_node |
( |
uuid | id, |
|
|
std::string | name, |
|
|
end_point | address ) |
|
inline |
Constructor.
- Parameters
-
| id | Local ID. |
| name | Name. |
| address | Address. |
◆ compare()
| int ignite::cluster_node::compare |
( |
const cluster_node & | other | ) |
const |
|
inlinenodiscard |
compare to another instance.
- Parameters
-
- Returns
- Negative value if less, positive if larger and zero, if equals another instance.
◆ get_address()
| const end_point & ignite::cluster_node::get_address |
( |
| ) |
const |
|
inlinenodiscard |
Gets the node address.
- Returns
- Node address.
◆ get_id()
| const uuid & ignite::cluster_node::get_id |
( |
| ) |
const |
|
inlinenodiscard |
Gets the local node id. Changes after node restart.
- Returns
- Local node id.
◆ get_name()
| const std::string & ignite::cluster_node::get_name |
( |
| ) |
const |
|
inlinenodiscard |
Gets the unique name of the cluster member. Does not change after node restart.
- Returns
- Unique name of the cluster member.
The documentation for this class was generated from the following file: