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,
@Nullable Map<Long,Collection<ClusterNode>> topHist,
@Nullable 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 @Nullable Map<Long,Collection<ClusterNode>> topHist, @Nullable @Nullable DiscoverySpiCustomMessage data)
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.data
- Data for custom event.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019