Class BatchedPendingAckMetadataEntry
java.lang.Object
org.apache.pulsar.broker.transaction.pendingack.proto.BatchedPendingAckMetadataEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllPendingAckLogs
(Iterable<PendingAckMetadataEntry> pendingAckLogs) clear()
getPendingAckLogAt
(int idx) int
int
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
BatchedPendingAckMetadataEntry
public BatchedPendingAckMetadataEntry()
-
-
Method Details
-
getPendingAckLogsCount
public int getPendingAckLogsCount() -
getPendingAckLogAt
-
getPendingAckLogsList
-
addPendingAckLog
-
addAllPendingAckLogs
public BatchedPendingAckMetadataEntry addAllPendingAckLogs(Iterable<PendingAckMetadataEntry> pendingAckLogs) -
clearPendingAckLogs
-
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)
-