Class TransactionBufferSystemTopicClient
java.lang.Object
org.apache.pulsar.broker.systopic.SystemTopicClientBase<TransactionBufferSnapshot>
org.apache.pulsar.broker.systopic.TransactionBufferSystemTopicClient
- All Implemented Interfaces:
SystemTopicClient<TransactionBufferSnapshot>
public class TransactionBufferSystemTopicClient
extends SystemTopicClientBase<TransactionBufferSnapshot>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pulsar.broker.systopic.SystemTopicClient
SystemTopicClient.Reader<T>, SystemTopicClient.Writer<T> -
Field Summary
Fields inherited from class org.apache.pulsar.broker.systopic.SystemTopicClientBase
client, readers, topicName, writers -
Constructor Summary
ConstructorsConstructorDescriptionTransactionBufferSystemTopicClient(org.apache.pulsar.client.api.PulsarClient client, org.apache.pulsar.common.naming.TopicName topicName, TransactionBufferSnapshotService transactionBufferSnapshotService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidremoveReader(org.apache.pulsar.broker.systopic.TransactionBufferSystemTopicClient.TransactionBufferSnapshotReader reader) protected voidremoveWriter(org.apache.pulsar.broker.systopic.TransactionBufferSystemTopicClient.TransactionBufferSnapshotWriter writer) Methods inherited from class org.apache.pulsar.broker.systopic.SystemTopicClientBase
close, closeAsync, getReaders, getTopicName, getWriters, newReader, newReaderAsync, newWriter, newWriterAsync
-
Constructor Details
-
TransactionBufferSystemTopicClient
public TransactionBufferSystemTopicClient(org.apache.pulsar.client.api.PulsarClient client, org.apache.pulsar.common.naming.TopicName topicName, TransactionBufferSnapshotService transactionBufferSnapshotService)
-
-
Method Details
-
newWriterAsyncInternal
protected CompletableFuture<SystemTopicClient.Writer<TransactionBufferSnapshot>> newWriterAsyncInternal()- Specified by:
newWriterAsyncInternalin classSystemTopicClientBase<TransactionBufferSnapshot>
-
newReaderAsyncInternal
protected CompletableFuture<SystemTopicClient.Reader<TransactionBufferSnapshot>> newReaderAsyncInternal()- Specified by:
newReaderAsyncInternalin classSystemTopicClientBase<TransactionBufferSnapshot>
-
removeWriter
protected void removeWriter(org.apache.pulsar.broker.systopic.TransactionBufferSystemTopicClient.TransactionBufferSnapshotWriter writer) -
removeReader
protected void removeReader(org.apache.pulsar.broker.systopic.TransactionBufferSystemTopicClient.TransactionBufferSnapshotReader reader)
-