|
T | GetAttribute< T > (string name) |
| Gets node's attribute. Attributes are assigned to nodes at startup. More...
|
|
bool | TryGetAttribute< T > (string name, out T attr) |
| Try getting node's attribute. Attributes are assigned to nodes at startup. More...
|
|
IDictionary< string, object > | GetAttributes () |
| Gets all node attributes. Attributes are assigned to nodes at startup. More...
|
|
IClusterMetrics | GetMetrics () |
| Gets metrics snapshot for this node. Note that node metrics are constantly updated and provide up to date information about nodes. For example, you can get an idea about CPU load on remote node via IClusterMetrics.CurrentCpuLoad. Node metrics are updated with some delay which is directly related to heartbeat frequency. For example, when used with default GridTcpDiscoverySpi the update will happen every 2 seconds. More...
|
|
|
Guid | Id [get] |
| Globally unique node ID. A new ID is generated every time a node restarts. More...
|
|
ICollection< string > | Addresses [get] |
| Collection of addresses this node is known by. More...
|
|
ICollection< string > | HostNames [get] |
| Collection of host names this node is known by. More...
|
|
long | Order [get] |
| Node order within grid topology. Discovery SPIs that support node ordering will assign a proper order to each node and will guarantee that discovery event notifications for new nodes will come in proper order. All other SPIs not supporting ordering may choose to return node startup time here. More...
|
|
bool | IsLocal [get] |
| Tests whether or not this node is a local node. More...
|
|
bool | IsDaemon [get] |
| Tests whether or not this node is a daemon. Daemon nodes are the usual Ignite nodes that participate in topology but not visible on the main APIs, i.e. they are not part of any projections. Daemon nodes are used primarily for management and monitoring functionality that is build on Ignite and needs to participate in the topology but should be excluded from "normal" topology so that it won't participate in task execution or in-memory database. Application code should never use daemon nodes. More...
|
|
bool | IsClient [get] |
| Gets a value indicating whether or not this node is connected to cluster as a client. More...
|
|
You can use Ignite node attributes to provide static information about a node. This information is initialized once within grid, during node startup, and remains the same throughout the lifetime of a node.
All members are thread-safe and may be used concurrently from multiple threads.