Package org.apache.ignite.spi.discovery
Interface DiscoverySpiListener
-
public interface DiscoverySpiListenerListener for grid node discovery events. SeeDiscoverySpifor information on how grid nodes get discovered.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IgniteFuture<?>onDiscovery(DiscoveryNotification notification)Notification for grid node discovery events.voidonLocalNodeInitialized(ClusterNode locNode)Notification of local node initialization.
-
-
-
Method Detail
-
onLocalNodeInitialized
void onLocalNodeInitialized(ClusterNode locNode)
Notification of local node initialization. At the time this method is called, it is guaranteed that local node consistent ID is available, but the discovery process is not started yet. This method should not block for a long time since it blocks discovery.- Parameters:
locNode- Initialized local node.
-
onDiscovery
IgniteFuture<?> onDiscovery(DiscoveryNotification notification)
Notification for grid node discovery events.- Parameters:
notification- Discovery notification object.- Returns:
- A future that will be completed when notification process has finished.
-
-