Class BytesTransportRequest

  • All Implemented Interfaces:
    Writeable, TaskAwareRequest

    public class BytesTransportRequest
    extends TransportRequest
    A specialized, bytes only request, that can potentially be optimized on the network layer, specifically for the same large buffer send to several nodes.
    • Constructor Detail

      • BytesTransportRequest

        public BytesTransportRequest​(StreamInput in)
                              throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • version

        public Version version()
      • writeThin

        public void writeThin​(StreamOutput out)
                       throws java.io.IOException
        Writes the data in a "thin" manner, without the actual bytes, assumes the actual bytes will be appended right after this content.
        Throws:
        java.io.IOException