类 Markers
java.lang.Object
org.apache.pulsar.common.protocol.Markers
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanisReplicatedSubscriptionSnapshotMarker(MessageMetadata msgMetadata) static booleanisServerOnlyMarker(MessageMetadata msgMetadata) static booleanisTxnAbortMarker(MessageMetadata msgMetadata) static booleanisTxnCommitMarker(MessageMetadata msgMetadata) static booleanisTxnMarker(MessageMetadata msgMetadata) static io.netty.buffer.ByteBufnewReplicatedSubscriptionsSnapshot(String snapshotId, String sourceCluster, long ledgerId, long entryId, Map<String, MarkersMessageIdData> clusterIds) static io.netty.buffer.ByteBufnewReplicatedSubscriptionsSnapshotRequest(String snapshotId, String sourceCluster) static io.netty.buffer.ByteBufnewReplicatedSubscriptionsSnapshotResponse(String snapshotId, String replyToCluster, String cluster, long ledgerId, long entryId) static io.netty.buffer.ByteBufnewReplicatedSubscriptionsUpdate(String subscriptionName, Map<String, MarkersMessageIdData> clusterIds) static io.netty.buffer.ByteBufnewTxnAbortMarker(long sequenceId, long txnMostBits, long txnLeastBits) static io.netty.buffer.ByteBufnewTxnCommitMarker(long sequenceId, long txnMostBits, long txnLeastBits) parseReplicatedSubscriptionsSnapshot(io.netty.buffer.ByteBuf payload) parseReplicatedSubscriptionsSnapshotRequest(io.netty.buffer.ByteBuf payload) parseReplicatedSubscriptionsSnapshotResponse(io.netty.buffer.ByteBuf payload) parseReplicatedSubscriptionsUpdate(io.netty.buffer.ByteBuf payload)
-
构造器详细资料
-
Markers
public Markers()
-
-
方法详细资料
-
isServerOnlyMarker
-
isReplicatedSubscriptionSnapshotMarker
-
newReplicatedSubscriptionsSnapshotRequest
-
parseReplicatedSubscriptionsSnapshotRequest
public static ReplicatedSubscriptionsSnapshotRequest parseReplicatedSubscriptionsSnapshotRequest(io.netty.buffer.ByteBuf payload) throws IOException - 抛出:
IOException
-
newReplicatedSubscriptionsSnapshotResponse
-
parseReplicatedSubscriptionsSnapshotResponse
public static ReplicatedSubscriptionsSnapshotResponse parseReplicatedSubscriptionsSnapshotResponse(io.netty.buffer.ByteBuf payload) throws IOException - 抛出:
IOException
-
newReplicatedSubscriptionsSnapshot
public static io.netty.buffer.ByteBuf newReplicatedSubscriptionsSnapshot(String snapshotId, String sourceCluster, long ledgerId, long entryId, Map<String, MarkersMessageIdData> clusterIds) -
parseReplicatedSubscriptionsSnapshot
public static ReplicatedSubscriptionsSnapshot parseReplicatedSubscriptionsSnapshot(io.netty.buffer.ByteBuf payload) throws IOException - 抛出:
IOException
-
newReplicatedSubscriptionsUpdate
public static io.netty.buffer.ByteBuf newReplicatedSubscriptionsUpdate(String subscriptionName, Map<String, MarkersMessageIdData> clusterIds) -
parseReplicatedSubscriptionsUpdate
public static ReplicatedSubscriptionsUpdate parseReplicatedSubscriptionsUpdate(io.netty.buffer.ByteBuf payload) -
isTxnCommitMarker
-
isTxnMarker
-
newTxnCommitMarker
public static io.netty.buffer.ByteBuf newTxnCommitMarker(long sequenceId, long txnMostBits, long txnLeastBits) -
isTxnAbortMarker
-
newTxnAbortMarker
public static io.netty.buffer.ByteBuf newTxnAbortMarker(long sequenceId, long txnMostBits, long txnLeastBits)
-