public class ExchangeContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNITE_EXCHANGE_COMPATIBILITY_VER_1
Enables exchange compatibility with protocol version 1.
|
| Constructor and Description |
|---|
ExchangeContext(GridCacheSharedContext<?,?> cctx,
boolean crd,
GridDhtPartitionsExchangeFuture fut) |
| Modifier and Type | Method and Description |
|---|---|
ExchangeDiscoveryEvents |
events() |
boolean |
exchangeFreeSwitch() |
boolean |
fetchAffinityOnJoin() |
@Nullable Set<Integer> |
groupsAffinityRequestOnJoin() |
boolean |
mergeExchanges() |
boolean |
remapStaleCacheRequests() |
String |
toString() |
@SystemProperty(value="Enables the compatibility mode for the exchange protocol of version 1") public static final String IGNITE_EXCHANGE_COMPATIBILITY_VER_1
public ExchangeContext(GridCacheSharedContext<?,?> cctx, boolean crd, GridDhtPartitionsExchangeFuture fut)
cctx - Context.crd - Coordinator flag.fut - Exchange future.public ExchangeDiscoveryEvents events()
public boolean fetchAffinityOnJoin()
True if on local join need fetch affinity per-group (old protocol),
otherwise affinity is sent in GridDhtPartitionsFullMessage.public boolean exchangeFreeSwitch()
True if it's safe to perform PME-free switch.@Nullable public @Nullable Set<Integer> groupsAffinityRequestOnJoin()
public boolean mergeExchanges()
True if exchanges merge is allowed during current exchange.public boolean remapStaleCacheRequests()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023