Class WireCommands.SegmentAttribute

    • Constructor Detail

      • SegmentAttribute

        @ConstructorProperties({"requestId","value"})
        public SegmentAttribute​(long requestId,
                                long value)
    • 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​(java.io.DataInput in,
                                           int length)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getRequestId

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

        public long getValue()
      • 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