Class WireCommands.UpdateSegmentAttribute

    • Constructor Detail

      • UpdateSegmentAttribute

        @ConstructorProperties({"requestId","segmentName","attributeId","newValue","expectedValue","delegationToken"})
        public UpdateSegmentAttribute​(long requestId,
                                      java.lang.String segmentName,
                                      java.util.UUID attributeId,
                                      long newValue,
                                      long expectedValue,
                                      java.lang.String delegationToken)
    • 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
      • getSegmentName

        public java.lang.String getSegmentName()
      • getAttributeId

        public java.util.UUID getAttributeId()
      • getNewValue

        public long getNewValue()
      • getExpectedValue

        public long getExpectedValue()
      • getDelegationToken

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