Package org.apache.ignite.spi.discovery
Interface DiscoverySpiListener
-
public interface DiscoverySpiListener
Listener for grid node discovery events. SeeDiscoverySpi
for 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.void
onLocalNodeInitialized(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.
-
-