Class PendingAckMetadataEntry
java.lang.Object
org.apache.pulsar.broker.transaction.pendingack.proto.PendingAckMetadataEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllPendingAckMetadatas(Iterable<PendingAckMetadata> pendingAckMetadatas) clear()copyFrom(PendingAckMetadataEntry _other) org.apache.pulsar.common.api.proto.CommandAck.AckTypegetPendingAckMetadataAt(int idx) intintlonglongbooleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setAckType(org.apache.pulsar.common.api.proto.CommandAck.AckType ackType) setPendingAckOp(PendingAckOp pendingAckOp) setTxnidLeastBits(long txnidLeastBits) setTxnidMostBits(long txnidMostBits) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
PendingAckMetadataEntry
public PendingAckMetadataEntry()
-
-
Method Details
-
hasPendingAckOp
public boolean hasPendingAckOp() -
getPendingAckOp
-
setPendingAckOp
-
clearPendingAckOp
-
hasAckType
public boolean hasAckType() -
getAckType
public org.apache.pulsar.common.api.proto.CommandAck.AckType getAckType() -
setAckType
public PendingAckMetadataEntry setAckType(org.apache.pulsar.common.api.proto.CommandAck.AckType ackType) -
clearAckType
-
hasTxnidLeastBits
public boolean hasTxnidLeastBits() -
getTxnidLeastBits
public long getTxnidLeastBits() -
setTxnidLeastBits
-
clearTxnidLeastBits
-
hasTxnidMostBits
public boolean hasTxnidMostBits() -
getTxnidMostBits
public long getTxnidMostBits() -
setTxnidMostBits
-
clearTxnidMostBits
-
getPendingAckMetadatasCount
public int getPendingAckMetadatasCount() -
getPendingAckMetadataAt
-
getPendingAckMetadatasList
-
addPendingAckMetadata
-
addAllPendingAckMetadatas
public PendingAckMetadataEntry addAllPendingAckMetadatas(Iterable<PendingAckMetadata> pendingAckMetadatas) -
clearPendingAckMetadata
-
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)
-