public interface DiscoverySpiListener
DiscoverySpi
for information on how grid nodes get discovered.Modifier and Type | Method and Description |
---|---|
default IgniteFuture<?> |
onDiscovery(DiscoveryNotification notification)
Notification for grid node discovery events.
|
IgniteFuture<?> |
onDiscovery(int type,
long topVer,
ClusterNode node,
Collection<ClusterNode> topSnapshot,
Map<Long,Collection<ClusterNode>> topHist,
DiscoverySpiCustomMessage data)
Deprecated.
|
void |
onLocalNodeInitialized(ClusterNode locNode)
Notification of local node initialization.
|
void onLocalNodeInitialized(ClusterNode locNode)
locNode
- Initialized local node.@Deprecated IgniteFuture<?> onDiscovery(int type, long topVer, ClusterNode node, Collection<ClusterNode> topSnapshot, Map<Long,Collection<ClusterNode>> topHist, DiscoverySpiCustomMessage data)
onDiscovery(DiscoveryNotification)
type
- Node discovery event type. See DiscoveryEvent
topVer
- Topology version or 0
if configured discovery SPI implementation does not support
versioning.node
- Node affected (e.g. newly joined node, left node, failed node or local node).topSnapshot
- Topology snapshot after event has been occurred (e.g. if event is EVT_NODE_JOINED
,
then joined node will be in snapshot).topHist
- Topology snapshots history, null
if first discovery event.data
- Data for custom event, null
if not a discovery event.default IgniteFuture<?> onDiscovery(DiscoveryNotification notification)
notification
- Discovery notification object.
GridGain In-Memory Computing Platform : ver. 8.9.3 Release Date : March 13 2024