Class GSIBucket

  • Direct Known Subclasses:
    NestedBucketBuffer, RawBucket, StringBucket, UnsignedIntBucket

    public abstract class GSIBucket
    extends java.lang.Object
    An XrootdBucket is a serialized datatype (string, uint, binary, list) with an int32 header describing its contents. The headers are well defined and for each header it is known which datatype to expect.
    Author:
    radicke, tzangerl
    • Method Detail

      • dump

        public int dump​(java.lang.StringBuilder builder,
                        java.lang.String step,
                        int number)
        This usually will be called only if trace is enabled. We here imitate the XrootD XrdSutBuffer DUMP printout.
      • serialize

        public void serialize​(io.netty.buffer.ByteBuf out)
      • getSize

        public int getSize()
        Returns:
        Length of the serialized bucket (in bytes)
      • toString

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