public interface GridNodeShadow extends GridMetadataAware
GridDiscoveryEvent.| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
addresses()
Gets collection of addresses this node is known by.
|
<T> T |
attribute(String name)
Gets a node attribute.
|
Map<String,Object> |
attributes()
Gets all node attributes.
|
long |
created()
Gets the timestamp of when this shadow was created.
|
String |
gridName()
Gets grid name for the node.
|
Collection<String> |
hostNames()
Gets collection of host names this node is known by.
|
UUID |
id()
Gets globally unique node ID.
|
boolean |
isDaemon()
Tests whether or not this node is a daemon.
|
GridNodeMetrics |
lastMetrics()
Gets the last snapshot of the metrics for this shadow's node.
|
long |
order()
Node order within grid topology.
|
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, removeMeta, removeMeta, replaceMetaUUID id()
String gridName()
boolean isDaemon()
Daemon nodes are the usual grid nodes that participate in topology but not visible on the main APIs, i.e. they are not part of any projections. The only way to see daemon nodes is to use this method.
Daemon nodes are used primarily for management and monitoring functionality that is build on GridGain and needs to participate in the topology but also needs to be excluded from "normal" topology so that it won't participate in task execution or in-memory data grid storage.
true if this is a daemon node, false otherwise.long created()
GridNodeMetrics lastMetrics()
<T> T attribute(String name)
T - Attribute Type.name - Attribute name. Note that attribute names starting with
org.gridgain are reserved for internal use.null.Collection<String> addresses()
Collection<String> hostNames()
long order()
Copyright © 2014. All rights reserved.