Class DiscoveryNotification


  • public class DiscoveryNotification
    extends Object
    Discovery notification object.
    • Constructor Detail

      • DiscoveryNotification

        public DiscoveryNotification​(int eventType,
                                     long topVer,
                                     ClusterNode node,
                                     Collection<ClusterNode> topSnapshot)
        Parameters:
        eventType - Event type.
        topVer - Topology version.
        node - Node.
        topSnapshot - Topology snapshot.
      • DiscoveryNotification

        public 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

      • type

        public int type()
        Returns:
        Event type.
      • getTopVer

        public long getTopVer()
        Returns:
        Topology version.
      • getNode

        public ClusterNode getNode()
        Returns:
        Cluster node.
      • getSpanContainer

        public org.apache.ignite.internal.processors.tracing.messages.SpanContainer getSpanContainer()
        Returns:
        Span container.