Uses of Class
org.springframework.pulsar.transaction.PulsarResourceHolder
Package
Description
Provides classes related to transactions.
-
Uses of PulsarResourceHolder in org.springframework.pulsar.transaction
Modifier and TypeMethodDescriptionstatic PulsarResourceHolder
PulsarTransactionUtils.getResourceHolder
(org.apache.pulsar.client.api.PulsarClient pulsarClient) Get a resource holder that is already synchronized with the current transaction.static PulsarResourceHolder
PulsarTransactionUtils.obtainResourceHolder
(org.apache.pulsar.client.api.PulsarClient pulsarClient, Duration timeout) Obtain a resource holder that is synchronized with the current transaction.