Interface TransactionBufferSnapshotService

    • Method Detail

      • createWriter

        java.util.concurrent.CompletableFuture<SystemTopicClient.Writer<TransactionBufferSnapshot>> createWriter​(org.apache.pulsar.common.naming.TopicName topicName)
        Create a transaction buffer snapshot writer.
        Parameters:
        topicName - TopicName the topic name
        Returns:
        CompletableFuture return the future of writer
      • createReader

        java.util.concurrent.CompletableFuture<SystemTopicClient.Reader<TransactionBufferSnapshot>> createReader​(org.apache.pulsar.common.naming.TopicName topicName)
        Create a transaction buffer snapshot reader.
        Parameters:
        topicName - TopicName the topic name
        Returns:
        CompletableFuture return the future of reader
      • close

        void close()
            throws java.lang.Exception
        Close transaction buffer snapshot service.
        Throws:
        java.lang.Exception