Class ExchangeContext


  • public class ExchangeContext
    extends Object
    • Field Detail

      • IGNITE_EXCHANGE_COMPATIBILITY_VER_1

        @SystemProperty("Enables the compatibility mode for the exchange protocol of version 1")
        public static final String IGNITE_EXCHANGE_COMPATIBILITY_VER_1
        Enables exchange compatibility with protocol version 1.
        See Also:
        Constant Field Values
    • Method Detail

      • fetchAffinityOnJoin

        public boolean fetchAffinityOnJoin()
        Returns:
        True if on local join need fetch affinity per-group (old protocol), otherwise affinity is sent in GridDhtPartitionsFullMessage.
      • exchangeFreeSwitch

        public boolean exchangeFreeSwitch()
        Returns:
        True if it's safe to perform PME-free switch.
      • groupsAffinityRequestOnJoin

        @Nullable
        public @Nullable Set<Integer> groupsAffinityRequestOnJoin()
        Returns:
        Groups to request affinity for.
      • mergeExchanges

        public boolean mergeExchanges()
        Returns:
        True if exchanges merge is allowed during current exchange.
      • remapStaleCacheRequests

        public boolean remapStaleCacheRequests()
        Returns:
        Whether cache requests that were mapped to an outdated topology version should be forcibly remapped to the up-to-date one.