public class ExchangeDiscoveryEvents extends Object
| Modifier and Type | Method and Description |
|---|---|
DiscoCache |
discoveryCache() |
Collection<DiscoveryEvent> |
events() |
boolean |
hasServerJoin() |
boolean |
hasServerLeft() |
Collection<ClusterNode> |
joinedServerNodes() |
DiscoveryEvent |
lastEvent() |
Collection<ClusterNode> |
leftServerNodes() |
boolean |
nodeJoined(UUID nodeId) |
void |
processEvents(GridDhtPartitionsExchangeFuture fut) |
static boolean |
serverJoinEvent(DiscoveryEvent evt) |
static boolean |
serverLeftEvent(DiscoveryEvent evt) |
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
void |
warnNoAffinityNodes(GridCacheSharedContext<?,?> cctx) |
public void processEvents(GridDhtPartitionsExchangeFuture fut)
fut - Current exchange future.public boolean nodeJoined(UUID nodeId)
nodeId - Node ID.True if has join event for give node.public Collection<DiscoveryEvent> events()
public static boolean serverLeftEvent(DiscoveryEvent evt)
evt - Event.True if given event is EventType.EVT_NODE_FAILED or EventType.EVT_NODE_LEFT.public static boolean serverJoinEvent(DiscoveryEvent evt)
evt - Event.True if given event is EventType.EVT_NODE_JOINED.public DiscoCache discoveryCache()
public DiscoveryEvent lastEvent()
public AffinityTopologyVersion topologyVersion()
public boolean hasServerJoin()
True if has event for server join.public boolean hasServerLeft()
True if has event for server leave.public Collection<ClusterNode> joinedServerNodes()
public Collection<ClusterNode> leftServerNodes()
public void warnNoAffinityNodes(GridCacheSharedContext<?,?> cctx)
cctx - Context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021