public class ExchangeContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNITE_EXCHANGE_COMPATIBILITY_VER_1 |
| Constructor and Description |
|---|
ExchangeContext(boolean crd,
boolean newMvccCrd,
GridDhtPartitionsExchangeFuture fut) |
| Modifier and Type | Method and Description |
|---|---|
Map<UUID,GridLongList> |
activeQueries() |
void |
addActiveQueries(UUID nodeId,
GridLongList nodeQueries) |
ExchangeDiscoveryEvents |
events() |
boolean |
fetchAffinityOnJoin() |
Set<Integer> |
groupsAffinityRequestOnJoin() |
boolean |
mergeExchanges() |
boolean |
newMvccCoordinator() |
String |
toString() |
public static final String IGNITE_EXCHANGE_COMPATIBILITY_VER_1
public ExchangeContext(boolean crd,
boolean newMvccCrd,
GridDhtPartitionsExchangeFuture fut)
crd - Coordinator flag.newMvccCrd - True if new coordinator assigned during this exchange.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.public boolean newMvccCoordinator()
True if new node assigned as mvcc coordinator node during this exchange.public Map<UUID,GridLongList> activeQueries()
public void addActiveQueries(UUID nodeId, @Nullable GridLongList nodeQueries)
nodeId - Node ID.nodeQueries - Node queries.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019