public interface DiscoverySpiListener
DiscoverySpi for information on how grid nodes get discovered.| Modifier and Type | Method and Description |
|---|---|
IgniteFuture<?> |
onDiscovery(int type,
long topVer,
ClusterNode node,
Collection<ClusterNode> topSnapshot,
Map<Long,Collection<ClusterNode>> topHist,
DiscoverySpiCustomMessage data)
Notification for grid node discovery events.
|
void |
onLocalNodeInitialized(ClusterNode locNode)
Notification of local node initialization.
|
void onLocalNodeInitialized(ClusterNode locNode)
locNode - Initialized local node.IgniteFuture<?> onDiscovery(int type, long topVer, ClusterNode node, Collection<ClusterNode> topSnapshot, @Nullable Map<Long,Collection<ClusterNode>> topHist, @Nullable DiscoverySpiCustomMessage data)
type - Node discovery event type. See DiscoveryEventtopVer - 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.data - Data for custom event.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019