Class WalStateAbstractMessage

    • Constructor Detail

      • WalStateAbstractMessage

        protected WalStateAbstractMessage​(UUID opId,
                                          int grpId,
                                          IgniteUuid grpDepId)
        Constructor.
        Parameters:
        opId - Unique operation ID.
        grpId - Group ID.
        grpDepId - Group deployment ID.
    • Method Detail

      • operationId

        public UUID operationId()
        Returns:
        Unique operation ID.
      • groupId

        public int groupId()
        Returns:
        Group ID.
      • groupDeploymentId

        public IgniteUuid groupDeploymentId()
        Returns:
        Group deployment ID.
      • needExchange

        public boolean needExchange()
        Returns:
        True if exchange is needed.
      • exchangeMessage

        @Nullable
        public @Nullable WalStateProposeMessage exchangeMessage()
        Get exchange message.
        Returns:
        Massage or null if no processing is required.
      • exchangeMessage

        public void exchangeMessage​(WalStateProposeMessage exchangeMsg)
        Set message that will be processed through exchange thread later on.
        Parameters:
        exchangeMsg - Message.
      • isMutable

        public boolean isMutable()
        Specified by:
        isMutable in interface DiscoveryCustomMessage
        Returns:
        True if message can be modified during listener notification. Changes will be sent to next nodes.