Class WireCommands.SegmentRead

    • Constructor Detail

      • SegmentRead

        @ConstructorProperties({"segment","offset","atTail","endOfSegment","data","requestId"})
        public SegmentRead​(java.lang.String segment,
                           long offset,
                           boolean atTail,
                           boolean endOfSegment,
                           io.netty.buffer.ByteBuf data,
                           long requestId)
    • Method Detail

      • writeFields

        public void writeFields​(java.io.DataOutput out)
                         throws java.io.IOException
        Specified by:
        writeFields in interface WireCommand
        Throws:
        java.io.IOException
      • getRequestId

        public long getRequestId()
        Specified by:
        getRequestId in interface Reply
      • getSegment

        public java.lang.String getSegment()
      • getOffset

        public long getOffset()
      • isAtTail

        public boolean isAtTail()
      • isEndOfSegment

        public boolean isEndOfSegment()
      • getData

        public io.netty.buffer.ByteBuf getData()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object