Class WireCommands.SegmentAlreadyExists

    • Constructor Detail

      • SegmentAlreadyExists

        @ConstructorProperties({"requestId","segment","serverStackTrace"})
        public SegmentAlreadyExists​(long requestId,
                                    java.lang.String segment,
                                    java.lang.String serverStackTrace)
    • 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
      • toString

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

        public boolean isFailure()
        Specified by:
        isFailure in interface Reply
      • getRequestId

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

        public java.lang.String getSegment()
      • getServerStackTrace

        public java.lang.String getServerStackTrace()
      • 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