Class GridDhtTxOnePhaseCommitAckRequest

    • Constructor Detail

      • GridDhtTxOnePhaseCommitAckRequest

        public GridDhtTxOnePhaseCommitAckRequest()
        Default constructor.
      • GridDhtTxOnePhaseCommitAckRequest

        public GridDhtTxOnePhaseCommitAckRequest​(Collection<GridCacheVersion> vers)
        Parameters:
        vers - Near Tx xid Versions.
    • Method Detail

      • handlerId

        public int handlerId()
        Specified by:
        handlerId in class GridCacheMessage
        Returns:
        ID to distinguish message handlers for the same messages but for different caches/cache groups.
      • addDeploymentInfo

        public boolean addDeploymentInfo()
        Deployment enabled flag indicates whether deployment info has to be added to this message.
        Specified by:
        addDeploymentInfo in class GridCacheMessage
        Returns:
        true or if deployment info must be added to the the message, false otherwise.
      • writeTo

        public boolean writeTo​(ByteBuffer buf,
                               MessageWriter writer)
        Writes this message to provided byte buffer.
        Specified by:
        writeTo in interface Message
        Overrides:
        writeTo in class GridCacheMessage
        Parameters:
        buf - Byte buffer.
        writer - Writer.
        Returns:
        Whether message was fully written.
      • directType

        public short directType()
        Gets message type.
        Returns:
        Message type.