Class StorageUsage
java.lang.Object
org.apache.pulsar.broker.service.resource.usage.StorageUsage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()copyFrom(StorageUsage _other) intlongbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setTotalBytes(long totalBytes) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
StorageUsage
public StorageUsage()
-
-
Method Details
-
hasTotalBytes
public boolean hasTotalBytes() -
getTotalBytes
public long getTotalBytes() -
setTotalBytes
-
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
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-