## Uses of Class
org.apache.ignite.events.DiscoveryEvent

Packages that use DiscoveryEvent
Package | Description
--- | ---
org.apache.ignite.cache.affinity | Contains cache node affinity implementations.
org.apache.ignite.internal.events |
org.apache.ignite.internal.managers.discovery | TODO.
org.apache.ignite.internal.managers.eventstorage | TODO.
org.apache.ignite.internal.processors.affinity | Data affinity processor.
org.apache.ignite.internal.processors.cache |
org.apache.ignite.internal.processors.cache.distributed.dht |
org.apache.ignite.internal.processors.cache.distributed.dht.preloader |
org.apache.ignite.internal.processors.cache.persistence.snapshot |
org.apache.ignite.internal.visor.util |

### Uses of DiscoveryEvent in org.apache.ignite.cache.affinity

Methods in org.apache.ignite.cache.affinity that return DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`DiscoveryEvent` | AffinityFunctionContext.`discoveryEvent()` Gets discovery event caused topology change.

### Uses of DiscoveryEvent in org.apache.ignite.internal.events

Subclasses of DiscoveryEvent in org.apache.ignite.internal.events
Modifier and Type | Class and Description
--- | ---
`class` | `DiscoveryCustomEvent` Custom event.

### Uses of DiscoveryEvent in org.apache.ignite.internal.managers.discovery

Methods in org.apache.ignite.internal.managers.discovery that return DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`DiscoveryEvent` | DiscoveryLocalJoinData.`event()`
`DiscoveryEvent` | GridDiscoveryManager.`localJoinEvent()`

Constructors in org.apache.ignite.internal.managers.discovery with parameters of type DiscoveryEvent
Constructor and Description
`DiscoveryLocalJoinData(DiscoveryEvent evt, DiscoCache discoCache, IgniteInternalFuture<Boolean> transitionWaitFut, boolean active)`

### Uses of DiscoveryEvent in org.apache.ignite.internal.managers.eventstorage

Methods in org.apache.ignite.internal.managers.eventstorage with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`void` | DiscoveryEventListener.`onEvent(DiscoveryEvent evt, DiscoCache discoCache)`
`void` | GridEventStorageManager.`record(DiscoveryEvent evt, DiscoCache discoCache)` Records discovery events.

### Uses of DiscoveryEvent in org.apache.ignite.internal.processors.affinity

Methods in org.apache.ignite.internal.processors.affinity that return DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`DiscoveryEvent` | GridAffinityFunctionContextImpl.`discoveryEvent()` Gets discovery event caused topology change.

Methods in org.apache.ignite.internal.processors.affinity with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`List<List<ClusterNode>>` | GridAffinityAssignmentCache.`calculate(AffinityTopologyVersion topVer, DiscoveryEvent discoEvt, DiscoCache discoCache)` Calculates affinity cache for given topology version.
`void` | GridAffinityAssignmentCache.`clientEventTopologyChange(DiscoveryEvent evt, AffinityTopologyVersion topVer)` Copies previous affinity assignment when discovery event does not cause affinity assignment changes (e.g. client node joins on leaves).

Constructors in org.apache.ignite.internal.processors.affinity with parameters of type DiscoveryEvent
Constructor and Description
`GridAffinityFunctionContextImpl(List<ClusterNode> topSnapshot, List<List<ClusterNode>> prevAssignment, DiscoveryEvent discoEvt, AffinityTopologyVersion topVer, int backups)`

### Uses of DiscoveryEvent in org.apache.ignite.internal.processors.cache

Methods in org.apache.ignite.internal.processors.cache that return DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`DiscoveryEvent` | PendingDiscoveryEvent.`event()`

Methods in org.apache.ignite.internal.processors.cache with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`void` | GridCachePartitionExchangeManager.`onLocalJoin(DiscoveryEvent evt, DiscoCache cache)` Callback for local join event (needed since regular event for local join is not generated).

Constructors in org.apache.ignite.internal.processors.cache with parameters of type DiscoveryEvent
Constructor and Description
`PendingDiscoveryEvent(DiscoveryEvent evt, DiscoCache cache)`

### Uses of DiscoveryEvent in org.apache.ignite.internal.processors.cache.distributed.dht

Methods in org.apache.ignite.internal.processors.cache.distributed.dht with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`boolean` | GridDhtPartitionTopology.`detectLostPartitions(DiscoveryEvent discoEvt)` Checks if there is at least one owner for each partition in the cache topology.
`boolean` | GridClientPartitionTopology.`detectLostPartitions(DiscoveryEvent discoEvt)` Checks if there is at least one owner for each partition in the cache topology.
`boolean` | GridDhtPartitionTopologyImpl.`detectLostPartitions(DiscoveryEvent discoEvt)` Checks if there is at least one owner for each partition in the cache topology.

### Uses of DiscoveryEvent in org.apache.ignite.internal.processors.cache.distributed.dht.preloader

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.preloader that return DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`DiscoveryEvent` | GridDhtPartitionsExchangeFuture.`discoveryEvent()`

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.preloader with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`void` | GridDhtForceKeysFuture.`onDiscoveryEvent(DiscoveryEvent evt)`
`void` | GridDhtPartitionsExchangeFuture.`onEvent(GridDhtPartitionExchangeId exchId, DiscoveryEvent discoEvt, DiscoCache discoCache)` Event callback.

Constructors in org.apache.ignite.internal.processors.cache.distributed.dht.preloader with parameters of type DiscoveryEvent
Constructor and Description
`GridDhtPartitionsExchangeFuture(GridCacheSharedContext cctx, boolean reassign, DiscoveryEvent discoEvt, GridDhtPartitionExchangeId exchId)` Dummy future created to trigger reassignments if partition topology changed while preloading.
`GridDhtPartitionsExchangeFuture(GridCacheSharedContext cctx, DiscoveryEvent discoEvt, GridDhtPartitionExchangeId exchId, GridCompoundFuture<Boolean,Boolean> forcedRebFut)` Force preload future created to trigger reassignments if partition topology changed while preloading.

### Uses of DiscoveryEvent in org.apache.ignite.internal.processors.cache.persistence.snapshot

Methods in org.apache.ignite.internal.processors.cache.persistence.snapshot with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`IgniteInternalFuture` | IgniteCacheSnapshotManager.`tryStartLocalSnapshotOperation(DiscoveryEvent discoveryEvent)` Try to start local snapshot operation if it's required by discovery event.

### Uses of DiscoveryEvent in org.apache.ignite.internal.visor.util

Methods in org.apache.ignite.internal.visor.util with parameters of type DiscoveryEvent
Modifier and Type | Method and Description
--- | ---
`protected VisorGridEvent` | VisorEventMapper.`discoveryEvent(DiscoveryEvent de, int type, IgniteUuid id, String name, UUID nid, long ts, String msg, String shortDisplay)`

2017 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 2.1.0
Release Date | : July 20 2017