类 ReplicatedSubscriptionsSnapshot
java.lang.Object
org.apache.pulsar.common.api.proto.ReplicatedSubscriptionsSnapshot
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addAllClusters(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)
-
构造器详细资料
-
ReplicatedSubscriptionsSnapshot
public ReplicatedSubscriptionsSnapshot()
-
-
方法详细资料
-
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)
-