Class BatchedTransactionMetadataEntry
java.lang.Object
org.apache.pulsar.transaction.coordinator.proto.BatchedTransactionMetadataEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllTransactionLogs(Iterable<TransactionMetadataEntry> transactionLogs) clear()intgetTransactionLogAt(int idx) intvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
BatchedTransactionMetadataEntry
public BatchedTransactionMetadataEntry()
-
-
Method Details
-
getTransactionLogsCount
public int getTransactionLogsCount() -
getTransactionLogAt
-
getTransactionLogsList
-
addTransactionLog
-
addAllTransactionLogs
public BatchedTransactionMetadataEntry addAllTransactionLogs(Iterable<TransactionMetadataEntry> transactionLogs) -
clearTransactionLogs
-
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)
-