Class WireCommands.SegmentsMerged

    • Constructor Detail

      • SegmentsMerged

        @ConstructorProperties({"requestId","target","source","newTargetWriteOffset"})
        public SegmentsMerged​(long requestId,
                              java.lang.String target,
                              java.lang.String source,
                              long newTargetWriteOffset)
    • Method Detail

      • writeFields

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

        public static WireCommand readFrom​(io.netty.buffer.ByteBufInputStream in,
                                           int length)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getRequestId

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

        public java.lang.String getTarget()
      • getSource

        public java.lang.String getSource()
      • getNewTargetWriteOffset

        public long getNewTargetWriteOffset()
      • equals

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

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

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