Class AbstractMetadataDriver

java.lang.Object
org.apache.pulsar.metadata.bookkeeper.AbstractMetadataDriver
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
PulsarMetadataBookieDriver, PulsarMetadataClientDriver

public abstract class AbstractMetadataDriver extends Object implements Closeable
  • Field Details

    • METADATA_STORE_SCHEME

      public static final String METADATA_STORE_SCHEME
      See Also:
    • METADATA_STORE_INSTANCE

      public static final String METADATA_STORE_INSTANCE
      See Also:
    • store

      protected MetadataStoreExtended store
    • registrationClient

      protected org.apache.bookkeeper.discover.RegistrationClient registrationClient
    • registrationManager

      protected org.apache.bookkeeper.discover.RegistrationManager registrationManager
    • ledgerManagerFactory

      protected org.apache.bookkeeper.meta.LedgerManagerFactory ledgerManagerFactory
    • layoutManager

      protected org.apache.bookkeeper.meta.LayoutManager layoutManager
    • conf

      protected org.apache.bookkeeper.conf.AbstractConfiguration conf
    • ledgersRootPath

      protected String ledgersRootPath
  • Constructor Details

    • AbstractMetadataDriver

      public AbstractMetadataDriver()
  • Method Details

    • initialize

      protected void initialize(org.apache.bookkeeper.conf.AbstractConfiguration conf) throws org.apache.bookkeeper.meta.exceptions.MetadataException
      Throws:
      org.apache.bookkeeper.meta.exceptions.MetadataException
    • createRegistrationManager

      public org.apache.bookkeeper.discover.RegistrationManager createRegistrationManager()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • getScheme

      public String getScheme()