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 Summary
Constructors 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoverySpiCustomMessage
getCustomMsgData()
ClusterNode
getNode()
org.apache.ignite.internal.processors.tracing.messages.SpanContainer
getSpanContainer()
NavigableMap<Long,Collection<ClusterNode>>
getTopHist()
Collection<ClusterNode>
getTopSnapshot()
long
getTopVer()
int
type()
-
-
-
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.
-
getTopSnapshot
public Collection<ClusterNode> getTopSnapshot()
- Returns:
- Topology snapshot.
-
getTopHist
public NavigableMap<Long,Collection<ClusterNode>> getTopHist()
- Returns:
- Topology history.
-
getCustomMsgData
public DiscoverySpiCustomMessage getCustomMsgData()
- Returns:
- Custom message data.
-
getSpanContainer
public org.apache.ignite.internal.processors.tracing.messages.SpanContainer getSpanContainer()
- Returns:
- Span container.
-
-