public interface TransactionBufferSnapshotService
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close transaction buffer snapshot service.
|
CompletableFuture<SystemTopicClient.Reader<TransactionBufferSnapshot>> |
createReader(org.apache.pulsar.common.naming.TopicName topicName)
Create a transaction buffer snapshot reader.
|
CompletableFuture<SystemTopicClient.Writer<TransactionBufferSnapshot>> |
createWriter(org.apache.pulsar.common.naming.TopicName topicName)
Create a transaction buffer snapshot writer.
|
void |
removeClient(org.apache.pulsar.common.naming.TopicName topicName,
TransactionBufferSystemTopicClient transactionBufferSystemTopicClient)
Remove a topic client from cache.
|
CompletableFuture<SystemTopicClient.Writer<TransactionBufferSnapshot>> createWriter(org.apache.pulsar.common.naming.TopicName topicName)
topicName - TopicName the topic nameCompletableFuture return the future of writerCompletableFuture<SystemTopicClient.Reader<TransactionBufferSnapshot>> createReader(org.apache.pulsar.common.naming.TopicName topicName)
topicName - TopicName the topic nameCompletableFuture return the future of readervoid removeClient(org.apache.pulsar.common.naming.TopicName topicName,
TransactionBufferSystemTopicClient transactionBufferSystemTopicClient)
topicName - TopicName the topic nametransactionBufferSystemTopicClient - TransactionBufferSystemTopicClient the topic clientCopyright © 2017–2022 Apache Software Foundation. All rights reserved.