Package org.apache.pulsar.broker.storage
Interface BookkeeperManagedLedgerStorageClass
- All Superinterfaces:
ManagedLedgerStorageClass
ManagedLedgerStorageClass represents a configured instance of ManagedLedgerFactory for managed ledgers.
This instance is backed by a bookkeeper storage.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the bookkeeper client instance used by this instance.org.apache.bookkeeper.stats.StatsProviderReturn the stats provider to expose the stats of the storage implementation.Methods inherited from interface org.apache.pulsar.broker.storage.ManagedLedgerStorageClass
getManagedLedgerFactory, getName
-
Method Details
-
getBookKeeperClient
BookKeeper getBookKeeperClient()Return the bookkeeper client instance used by this instance.- Returns:
- the bookkeeper client.
-
getStatsProvider
org.apache.bookkeeper.stats.StatsProvider getStatsProvider()Return the stats provider to expose the stats of the storage implementation.- Returns:
- the stats provider.
-