Class ReplicatedSubscriptionsSnapshot
java.lang.Object
org.apache.pulsar.common.api.proto.ReplicatedSubscriptionsSnapshot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllClusters(Iterable<ClusterMessageId> clusters) clear()getClusterAt(int idx) intintbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setSnapshotId(String snapshotId) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
ReplicatedSubscriptionsSnapshot
public ReplicatedSubscriptionsSnapshot()
-
-
Method Details
-
hasSnapshotId
public boolean hasSnapshotId() -
getSnapshotId
-
setSnapshotId
-
clearSnapshotId
-
hasLocalMessageId
public boolean hasLocalMessageId() -
getLocalMessageId
-
setLocalMessageId
-
clearLocalMessageId
-
getClustersCount
public int getClustersCount() -
getClusterAt
-
getClustersList
-
addCluster
-
addAllClusters
-
clearClusters
-
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)
-