Class RawBucket


  • public class RawBucket
    extends GSIBucket
    A bucket containing a header plus a number of bytes. This can be binary data, but a raw-bucket can also represent encryptet buckets of another type.
    Author:
    radicke, tzangerl
    See Also:
    GSIBucket
    • 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.
        Overrides:
        dump in class GSIBucket
      • getContent

        public byte[] getContent()
      • serialize

        public void serialize​(io.netty.buffer.ByteBuf out)
        Overrides:
        serialize in class GSIBucket
      • getSize

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

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