Class GridQueryKillRequest

    • Constructor Detail

      • GridQueryKillRequest

        public GridQueryKillRequest()
        Default constructor.
      • GridQueryKillRequest

        public GridQueryKillRequest​(long reqId,
                                    long nodeQryId,
                                    boolean asyncRes)
        Parameters:
        reqId - Request id.
        nodeQryId - Query ID on a node.
        asyncRes - true in case reposnse should be send asynchronous.
    • Method Detail

      • requestId

        public long requestId()
        Returns:
        Request id.
      • nodeQryId

        public long nodeQryId()
        Returns:
        Query id on a node.
      • asyncResponse

        public boolean asyncResponse()
        Returns:
        true in case response should be send back asynchronous.
      • onAckReceived

        public void onAckReceived()
        Method called when ack message received.
        Specified by:
        onAckReceived in interface Message
      • writeTo

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

        public boolean readFrom​(ByteBuffer buf,
                                MessageReader reader)
        Reads this message from provided byte buffer.
        Specified by:
        readFrom in interface Message
        Parameters:
        buf - Byte buffer.
        reader - Reader.
        Returns:
        Whether message was fully read.
      • directType

        public short directType()
        Gets message type.
        Specified by:
        directType in interface Message
        Returns:
        Message type.
      • fieldsCount

        public byte fieldsCount()
        Gets fields count.
        Specified by:
        fieldsCount in interface Message
        Returns:
        Fields count.