Class TransactionBufferSnapshotBaseSystemTopicClient<T>
java.lang.Object
org.apache.pulsar.broker.systopic.SystemTopicClientBase<T>
org.apache.pulsar.broker.systopic.TransactionBufferSnapshotBaseSystemTopicClient<T>
- All Implemented Interfaces:
SystemTopicClient<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classNested classes/interfaces inherited from interface org.apache.pulsar.broker.systopic.SystemTopicClient
SystemTopicClient.Reader<T>, SystemTopicClient.Writer<T> -
Field Summary
FieldsFields inherited from class org.apache.pulsar.broker.systopic.SystemTopicClientBase
client, readers, topicName, writers -
Constructor Summary
ConstructorsConstructorDescriptionTransactionBufferSnapshotBaseSystemTopicClient(org.apache.pulsar.client.api.PulsarClient client, org.apache.pulsar.common.naming.TopicName topicName, SystemTopicTxnBufferSnapshotService<T> systemTopicTxnBufferSnapshotService, Class<T> schemaType) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<SystemTopicClient.Reader<T>>protected CompletableFuture<SystemTopicClient.Writer<T>>protected voidremoveReader(SystemTopicClient.Reader<T> reader) protected voidremoveWriter(SystemTopicClient.Writer<T> writer) Methods inherited from class org.apache.pulsar.broker.systopic.SystemTopicClientBase
close, closeAsync, getReaders, getTopicName, getWriters, newReader, newReaderAsync, newWriter, newWriterAsync
-
Field Details
-
systemTopicTxnBufferSnapshotService
-
schemaType
-
-
Constructor Details
-
TransactionBufferSnapshotBaseSystemTopicClient
public TransactionBufferSnapshotBaseSystemTopicClient(org.apache.pulsar.client.api.PulsarClient client, org.apache.pulsar.common.naming.TopicName topicName, SystemTopicTxnBufferSnapshotService<T> systemTopicTxnBufferSnapshotService, Class<T> schemaType)
-
-
Method Details
-
removeWriter
-
removeReader
-
newWriterAsyncInternal
- Specified by:
newWriterAsyncInternalin classSystemTopicClientBase<T>
-
newReaderAsyncInternal
- Specified by:
newReaderAsyncInternalin classSystemTopicClientBase<T>
-