Uses of Interface
org.apache.bookkeeper.discover.RegistrationManager
-
Packages that use RegistrationManager Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.datainteg Package of the classes for defining bookie stats.org.apache.bookkeeper.conf Configurations used by bookkeeper.org.apache.bookkeeper.discover Classes related to service discovery.org.apache.bookkeeper.meta Classes for interacting with bookkeeper ledgers and ledger metadata.org.apache.bookkeeper.meta.zk ZooKeeper based metadata implementation.org.apache.bookkeeper.server BookKeeper Server (Bookie) related components.org.apache.bookkeeper.tools.cli.commands.cookie Cookie related cli commands. -
-
Uses of RegistrationManager in org.apache.bookkeeper.bookie
Fields in org.apache.bookkeeper.bookie declared as RegistrationManager Modifier and Type Field Description (package private) RegistrationManagerBookieImpl. registrationManagerMethods in org.apache.bookkeeper.bookie with parameters of type RegistrationManager Modifier and Type Method Description voidCookie. deleteFromRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)Deletes cookie from registration manager.voidCookie. deleteFromRegistrationManager(RegistrationManager rm, BookieId address, Version version)Delete cookie from registration manager.static BookieImplBookieImpl. newBookieImpl(ServerConfiguration conf, RegistrationManager registrationManager, LedgerStorage storage, DiskChecker diskChecker, LedgerDirsManager ledgerDirsManager, LedgerDirsManager indexDirsManager, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider)static LegacyCookieValidationLegacyCookieValidation. newLegacyCookieValidation(ServerConfiguration conf, RegistrationManager registrationManager)static Versioned<Cookie>Cookie. readFromRegistrationManager(RegistrationManager rm, ServerConfiguration conf)Read cookie from registration manager.static Versioned<Cookie>Cookie. readFromRegistrationManager(RegistrationManager rm, BookieId address)Read cookie from registration manager for a given bookie address.voidCookie. writeToRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)Writes cookie details to registration manager.Constructors in org.apache.bookkeeper.bookie with parameters of type RegistrationManager Constructor Description BookieImpl(ServerConfiguration conf, RegistrationManager registrationManager, LedgerStorage storage, DiskChecker diskChecker, LedgerDirsManager ledgerDirsManager, LedgerDirsManager indexDirsManager, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider)BookieStateManager(ServerConfiguration conf, RegistrationManager registrationManager)BookieStateManager(ServerConfiguration conf, StatsLogger statsLogger, RegistrationManager rm, java.util.List<java.io.File> statusDirs, java.util.function.Supplier<BookieId> bookieIdSupplier, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider)BookieStateManager(ServerConfiguration conf, StatsLogger statsLogger, RegistrationManager rm, LedgerDirsManager ledgerDirsManager, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider)LegacyCookieValidation(ServerConfiguration conf, RegistrationManager registrationManager)ReadOnlyBookie(ServerConfiguration conf, RegistrationManager registrationManager, LedgerStorage storage, DiskChecker diskChecker, LedgerDirsManager ledgerDirsManager, LedgerDirsManager indexDirsManager, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider) -
Uses of RegistrationManager in org.apache.bookkeeper.bookie.datainteg
Constructors in org.apache.bookkeeper.bookie.datainteg with parameters of type RegistrationManager Constructor Description DataIntegrityCookieValidation(ServerConfiguration conf, RegistrationManager registrationManager, DataIntegrityCheck dataIntegCheck) -
Uses of RegistrationManager in org.apache.bookkeeper.conf
Methods in org.apache.bookkeeper.conf that return types with arguments of type RegistrationManager Modifier and Type Method Description java.lang.Class<? extends RegistrationManager>ServerConfiguration. getRegistrationManagerClass()Deprecated.since 4.7.0, in favor of usingAbstractConfiguration.getMetadataServiceUri()Method parameters in org.apache.bookkeeper.conf with type arguments of type RegistrationManager Modifier and Type Method Description voidServerConfiguration. setRegistrationManagerClass(java.lang.Class<? extends RegistrationManager> regManagerClass)Deprecated.since 4.7.0, in favor of usingAbstractConfiguration.setMetadataServiceUri(String) -
Uses of RegistrationManager in org.apache.bookkeeper.discover
Classes in org.apache.bookkeeper.discover that implement RegistrationManager Modifier and Type Class Description classZKRegistrationManagerZooKeeper BasedRegistrationManager. -
Uses of RegistrationManager in org.apache.bookkeeper.meta
Classes in org.apache.bookkeeper.meta that implement RegistrationManager Modifier and Type Class Description static classNullMetadataBookieDriver.NullRegistrationManagerA no-op implementation of RegistrationManager.Methods in org.apache.bookkeeper.meta that return RegistrationManager Modifier and Type Method Description RegistrationManagerMetadataBookieDriver. createRegistrationManager()Create the registration manager used for registering/unregistering bookies.RegistrationManagerNullMetadataBookieDriver. createRegistrationManager()Method parameters in org.apache.bookkeeper.meta with type arguments of type RegistrationManager Modifier and Type Method Description static <T> TMetadataDrivers. runFunctionWithRegistrationManager(ServerConfiguration conf, java.util.function.Function<RegistrationManager,T> function)Process the provided function with registration manager resolved from the metadata service uri returned byAbstractConfiguration.getMetadataServiceUri(). -
Uses of RegistrationManager in org.apache.bookkeeper.meta.zk
Methods in org.apache.bookkeeper.meta.zk that return RegistrationManager Modifier and Type Method Description RegistrationManagerZKMetadataBookieDriver. createRegistrationManager() -
Uses of RegistrationManager in org.apache.bookkeeper.server
Methods in org.apache.bookkeeper.server that return RegistrationManager Modifier and Type Method Description RegistrationManagerEmbeddedServer. getRegistrationManager()Methods in org.apache.bookkeeper.server with parameters of type RegistrationManager Modifier and Type Method Description EmbeddedServer.BuilderEmbeddedServer.Builder. registrationManager(RegistrationManager registrationManager) -
Uses of RegistrationManager in org.apache.bookkeeper.tools.cli.commands.cookie
Methods in org.apache.bookkeeper.tools.cli.commands.cookie with parameters of type RegistrationManager Modifier and Type Method Description protected abstract voidCookieCommand. apply(RegistrationManager rm, CookieFlagsT cmdFlags)protected voidCreateCookieCommand. apply(RegistrationManager rm, CreateCookieCommand.Flags cmdFlags)protected voidDeleteCookieCommand. apply(RegistrationManager rm, DeleteCookieCommand.Flags cmdFlags)protected voidGenerateCookieCommand. apply(RegistrationManager rm, GenerateCookieCommand.Flags cmdFlags)protected voidGetCookieCommand. apply(RegistrationManager rm, GetCookieCommand.Flags cmdFlags)protected voidUpdateCookieCommand. apply(RegistrationManager rm, UpdateCookieCommand.Flags cmdFlags)
-