java.lang.Object
org.apache.pulsar.broker.service.resource.usage.StorageUsage

public final class StorageUsage extends Object
  • Constructor Details

    • StorageUsage

      public StorageUsage()
  • Method Details

    • hasTotalBytes

      public boolean hasTotalBytes()
    • getTotalBytes

      public long getTotalBytes()
    • setTotalBytes

      public StorageUsage setTotalBytes(long totalBytes)
    • clearTotalBytes

      public StorageUsage clearTotalBytes()
    • writeTo

      public int writeTo(io.netty.buffer.ByteBuf _b)
    • getSerializedSize

      public int getSerializedSize()
    • parseFrom

      public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size)
    • clear

      public StorageUsage clear()
    • copyFrom

      public StorageUsage copyFrom(StorageUsage _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)