Class PendingAckMetadata
java.lang.Object
org.apache.pulsar.broker.transaction.pendingack.proto.PendingAckMetadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAckSet(long ackSet) clear()copyFrom(PendingAckMetadata _other) longgetAckSetAt(int idx) intintlonglongintbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setBatchSize(int batchSize) setEntryId(long entryId) setLedgerId(long ledgerId) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
PendingAckMetadata
public PendingAckMetadata()
-
-
Method Details
-
hasLedgerId
public boolean hasLedgerId() -
getLedgerId
public long getLedgerId() -
setLedgerId
-
clearLedgerId
-
hasEntryId
public boolean hasEntryId() -
getEntryId
public long getEntryId() -
setEntryId
-
clearEntryId
-
getAckSetsCount
public int getAckSetsCount() -
getAckSetAt
public long getAckSetAt(int idx) -
addAckSet
public void addAckSet(long ackSet) -
clearAckSet
-
hasBatchSize
public boolean hasBatchSize() -
getBatchSize
public int getBatchSize() -
setBatchSize
-
clearBatchSize
-
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)
-