Class PendingAckMetadata

java.lang.Object
org.apache.pulsar.broker.transaction.pendingack.proto.PendingAckMetadata

public final class PendingAckMetadata extends Object
  • Constructor Details

    • PendingAckMetadata

      public PendingAckMetadata()
  • Method Details

    • hasLedgerId

      public boolean hasLedgerId()
    • getLedgerId

      public long getLedgerId()
    • setLedgerId

      public PendingAckMetadata setLedgerId(long ledgerId)
    • clearLedgerId

      public PendingAckMetadata clearLedgerId()
    • hasEntryId

      public boolean hasEntryId()
    • getEntryId

      public long getEntryId()
    • setEntryId

      public PendingAckMetadata setEntryId(long entryId)
    • clearEntryId

      public PendingAckMetadata clearEntryId()
    • getAckSetsCount

      public int getAckSetsCount()
    • getAckSetAt

      public long getAckSetAt(int idx)
    • addAckSet

      public void addAckSet(long ackSet)
    • clearAckSet

      public PendingAckMetadata clearAckSet()
    • hasBatchSize

      public boolean hasBatchSize()
    • getBatchSize

      public int getBatchSize()
    • setBatchSize

      public PendingAckMetadata setBatchSize(int batchSize)
    • clearBatchSize

      public PendingAckMetadata 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

      public PendingAckMetadata clear()
    • copyFrom

      public PendingAckMetadata copyFrom(PendingAckMetadata _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)