public class ExchangeContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNITE_EXCHANGE_COMPATIBILITY_VER_1 |
| Constructor and Description |
|---|
ExchangeContext(boolean crd,
GridDhtPartitionsExchangeFuture fut) |
| Modifier and Type | Method and Description |
|---|---|
ExchangeDiscoveryEvents |
events() |
boolean |
fetchAffinityOnJoin() |
Set<Integer> |
groupsAffinityRequestOnJoin() |
boolean |
mergeExchanges() |
String |
toString() |
public static final String IGNITE_EXCHANGE_COMPATIBILITY_VER_1
public ExchangeContext(boolean crd,
GridDhtPartitionsExchangeFuture fut)
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.@Nullable public Set<Integer> groupsAffinityRequestOnJoin()
public boolean mergeExchanges()
True if exchanges merge is allowed during current exchange.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018