Package org.apache.ignite.spi.discovery
Class DiscoveryNotification
- java.lang.Object
- 
- org.apache.ignite.spi.discovery.DiscoveryNotification
 
- 
 public class DiscoveryNotification extends Object Discovery notification object.
- 
- 
Constructor SummaryConstructors Constructor Description DiscoveryNotification(int eventType, long topVer, ClusterNode node, Collection<ClusterNode> topSnapshot)DiscoveryNotification(int eventType, long topVer, ClusterNode node, Collection<ClusterNode> topSnapshot, @Nullable NavigableMap<Long,Collection<ClusterNode>> topHist, @Nullable DiscoverySpiCustomMessage customMsgData, org.apache.ignite.internal.processors.tracing.messages.SpanContainer spanContainer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoverySpiCustomMessagegetCustomMsgData()ClusterNodegetNode()org.apache.ignite.internal.processors.tracing.messages.SpanContainergetSpanContainer()NavigableMap<Long,Collection<ClusterNode>>getTopHist()Collection<ClusterNode>getTopSnapshot()longgetTopVer()inttype()
 
- 
- 
- 
Constructor Detail- 
DiscoveryNotificationpublic DiscoveryNotification(int eventType, long topVer, ClusterNode node, Collection<ClusterNode> topSnapshot)- Parameters:
- eventType- Event type.
- topVer- Topology version.
- node- Node.
- topSnapshot- Topology snapshot.
 
 - 
DiscoveryNotificationpublic DiscoveryNotification(int eventType, long topVer, ClusterNode node, Collection<ClusterNode> topSnapshot, @Nullable @Nullable NavigableMap<Long,Collection<ClusterNode>> topHist, @Nullable @Nullable DiscoverySpiCustomMessage customMsgData, org.apache.ignite.internal.processors.tracing.messages.SpanContainer spanContainer)- Parameters:
- eventType- Event type.
- topVer- Topology version.
- node- Node.
- topSnapshot- Topology snapshot.
- topHist- Topology history.
- customMsgData- Custom message data.
- spanContainer- Span container.
 
 
- 
 - 
Method Detail- 
typepublic int type() - Returns:
- Event type.
 
 - 
getTopVerpublic long getTopVer() - Returns:
- Topology version.
 
 - 
getNodepublic ClusterNode getNode() - Returns:
- Cluster node.
 
 - 
getTopSnapshotpublic Collection<ClusterNode> getTopSnapshot() - Returns:
- Topology snapshot.
 
 - 
getTopHistpublic NavigableMap<Long,Collection<ClusterNode>> getTopHist() - Returns:
- Topology history.
 
 - 
getCustomMsgDatapublic DiscoverySpiCustomMessage getCustomMsgData() - Returns:
- Custom message data.
 
 - 
getSpanContainerpublic org.apache.ignite.internal.processors.tracing.messages.SpanContainer getSpanContainer() - Returns:
- Span container.
 
 
- 
 
-