public class GridDiscoveryTopologySnapshot extends Object
| Constructor and Description |
|---|
GridDiscoveryTopologySnapshot(long topVer,
Collection<ClusterNode> topNodes)
Creates a topology snapshot with given topology version and topology nodes.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ClusterNode> |
topologyNodes()
Gets topology nodes from topology snapshot.
|
long |
topologyVersion()
Gets topology version if this event is raised on
topology change and configured discovery SPI implementation
supports topology versioning.
|
String |
toString() |
public GridDiscoveryTopologySnapshot(long topVer,
Collection<ClusterNode> topNodes)
topVer - Topology version.topNodes - Topology nodes.public long topologyVersion()
0 if configured discovery SPI implementation
does not support versioning.public Collection<ClusterNode> topologyNodes()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018