Class PulsarMetadataClientDriver

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.bookkeeper.meta.MetadataClientDriver

    public class PulsarMetadataClientDriver
    extends AbstractMetadataDriver
    implements org.apache.bookkeeper.meta.MetadataClientDriver
    • Constructor Detail

      • PulsarMetadataClientDriver

        public PulsarMetadataClientDriver()
    • Method Detail

      • initialize

        public org.apache.bookkeeper.meta.MetadataClientDriver initialize​(org.apache.bookkeeper.conf.ClientConfiguration clientConfiguration,
                                                                          java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
                                                                          org.apache.bookkeeper.stats.StatsLogger statsLogger,
                                                                          java.util.Optional<java.lang.Object> optionalCtx)
                                                                   throws org.apache.bookkeeper.meta.exceptions.MetadataException
        Specified by:
        initialize in interface org.apache.bookkeeper.meta.MetadataClientDriver
        Throws:
        org.apache.bookkeeper.meta.exceptions.MetadataException
      • getRegistrationClient

        public org.apache.bookkeeper.discover.RegistrationClient getRegistrationClient()
        Specified by:
        getRegistrationClient in interface org.apache.bookkeeper.meta.MetadataClientDriver
      • getLedgerManagerFactory

        public org.apache.bookkeeper.meta.LedgerManagerFactory getLedgerManagerFactory()
                                                                                throws org.apache.bookkeeper.meta.exceptions.MetadataException
        Specified by:
        getLedgerManagerFactory in interface org.apache.bookkeeper.meta.MetadataClientDriver
        Throws:
        org.apache.bookkeeper.meta.exceptions.MetadataException
      • getLayoutManager

        public org.apache.bookkeeper.meta.LayoutManager getLayoutManager()
        Specified by:
        getLayoutManager in interface org.apache.bookkeeper.meta.MetadataClientDriver
      • setSessionStateListener

        public void setSessionStateListener​(org.apache.bookkeeper.meta.MetadataClientDriver.SessionStateListener sessionStateListener)
        Specified by:
        setSessionStateListener in interface org.apache.bookkeeper.meta.MetadataClientDriver