Class SnapshotSegment

java.lang.Object
org.apache.pulsar.broker.delayed.proto.SnapshotSegment

public final class SnapshotSegment extends Object
  • Constructor Details

    • SnapshotSegment

      public SnapshotSegment()
  • Method Details

    • getIndexesCount

      public int getIndexesCount()
    • getIndexeAt

      public DelayedIndex getIndexeAt(int idx)
    • getIndexesList

      public List<DelayedIndex> getIndexesList()
    • addIndexe

      public DelayedIndex addIndexe()
    • addAllIndexes

      public SnapshotSegment addAllIndexes(Iterable<DelayedIndex> indexes)
    • clearIndexes

      public SnapshotSegment clearIndexes()
    • 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 SnapshotSegment clear()
    • copyFrom

      public SnapshotSegment copyFrom(SnapshotSegment _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)