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) RegistrationManager
BookieImpl. registrationManager
Methods in org.apache.bookkeeper.bookie with parameters of type RegistrationManager Modifier and Type Method Description void
Cookie. deleteFromRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)
Deletes cookie from registration manager.void
Cookie. deleteFromRegistrationManager(RegistrationManager rm, BookieId address, Version version)
Delete cookie from registration manager.static BookieImpl
BookieImpl. 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 LegacyCookieValidation
LegacyCookieValidation. 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.void
Cookie. 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 void
ServerConfiguration. 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 class
ZKRegistrationManager
ZooKeeper BasedRegistrationManager
. -
Uses of RegistrationManager in org.apache.bookkeeper.meta
Classes in org.apache.bookkeeper.meta that implement RegistrationManager Modifier and Type Class Description static class
NullMetadataBookieDriver.NullRegistrationManager
A no-op implementation of RegistrationManager.Methods in org.apache.bookkeeper.meta that return RegistrationManager Modifier and Type Method Description RegistrationManager
MetadataBookieDriver. createRegistrationManager()
Create the registration manager used for registering/unregistering bookies.RegistrationManager
NullMetadataBookieDriver. createRegistrationManager()
Method parameters in org.apache.bookkeeper.meta with type arguments of type RegistrationManager Modifier and Type Method Description static <T> T
MetadataDrivers. 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 RegistrationManager
ZKMetadataBookieDriver. createRegistrationManager()
-
Uses of RegistrationManager in org.apache.bookkeeper.server
Methods in org.apache.bookkeeper.server that return RegistrationManager Modifier and Type Method Description RegistrationManager
EmbeddedServer. getRegistrationManager()
Methods in org.apache.bookkeeper.server with parameters of type RegistrationManager Modifier and Type Method Description EmbeddedServer.Builder
EmbeddedServer.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 void
CookieCommand. apply(RegistrationManager rm, CookieFlagsT cmdFlags)
protected void
CreateCookieCommand. apply(RegistrationManager rm, CreateCookieCommand.Flags cmdFlags)
protected void
DeleteCookieCommand. apply(RegistrationManager rm, DeleteCookieCommand.Flags cmdFlags)
protected void
GenerateCookieCommand. apply(RegistrationManager rm, GenerateCookieCommand.Flags cmdFlags)
protected void
GetCookieCommand. apply(RegistrationManager rm, GetCookieCommand.Flags cmdFlags)
protected void
UpdateCookieCommand. apply(RegistrationManager rm, UpdateCookieCommand.Flags cmdFlags)
-