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
Constructors Constructor Description TransactionBufferSystemTopicClient(org.apache.pulsar.client.api.PulsarClient client, org.apache.pulsar.common.naming.TopicName topicName, TransactionBufferSnapshotService transactionBufferSnapshotService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.concurrent.CompletableFuture<SystemTopicClient.Reader<TransactionBufferSnapshot>>newReaderAsyncInternal()protected java.util.concurrent.CompletableFuture<SystemTopicClient.Writer<TransactionBufferSnapshot>>newWriterAsyncInternal()protected 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 Detail
-
TransactionBufferSystemTopicClient
public TransactionBufferSystemTopicClient(org.apache.pulsar.client.api.PulsarClient client, org.apache.pulsar.common.naming.TopicName topicName, TransactionBufferSnapshotService transactionBufferSnapshotService)
-
-
Method Detail
-
newWriterAsyncInternal
protected java.util.concurrent.CompletableFuture<SystemTopicClient.Writer<TransactionBufferSnapshot>> newWriterAsyncInternal()
- Specified by:
newWriterAsyncInternalin classSystemTopicClientBase<TransactionBufferSnapshot>
-
newReaderAsyncInternal
protected java.util.concurrent.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)
-
-