Uses of Class
org.apache.bookkeeper.meta.exceptions.MetadataException
-
Packages that use MetadataException Package Description 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.tools.cli.commands.autorecovery org.apache.bookkeeper.tools.cli.commands.bookie Commands to operate a single bookie. -
-
Uses of MetadataException in org.apache.bookkeeper.meta
Methods in org.apache.bookkeeper.meta that throw MetadataException Modifier and Type Method Description LedgerManagerFactory
MetadataBookieDriver. getLedgerManagerFactory()
Return the ledger manager factory used for accessing ledger metadata.LedgerManagerFactory
MetadataClientDriver. getLedgerManagerFactory()
Return the ledger manager factory used for accessing ledger metadata.MetadataBookieDriver
MetadataBookieDriver. initialize(ServerConfiguration conf, StatsLogger statsLogger)
Initialize the metadata driver.MetadataClientDriver
MetadataClientDriver. initialize(ClientConfiguration conf, java.util.concurrent.ScheduledExecutorService scheduler, StatsLogger statsLogger, java.util.Optional<java.lang.Object> ctx)
Initialize the metadata driver.static <T> T
MetadataDrivers. runFunctionWithLedgerManagerFactory(ServerConfiguration conf, java.util.function.Function<LedgerManagerFactory,T> function)
Process the provided function with ledger manager factory resolved from the metadata service uri returned byAbstractConfiguration.getMetadataServiceUri()
.static <T> T
MetadataDrivers. runFunctionWithMetadataBookieDriver(ServerConfiguration conf, java.util.function.Function<MetadataBookieDriver,T> function)
Process the provided function with metadata bookie driver resolved from the metadata service uri returned byAbstractConfiguration.getMetadataServiceUri()
.static <T> T
MetadataDrivers. runFunctionWithMetadataClientDriver(ClientConfiguration conf, java.util.function.Function<MetadataClientDriver,T> function, java.util.concurrent.ScheduledExecutorService executorService)
Process the provided function with metadata client driver resolved from the metadata service uri returned byAbstractConfiguration.getMetadataServiceUri()
.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 MetadataException in org.apache.bookkeeper.meta.zk
Methods in org.apache.bookkeeper.meta.zk that throw MetadataException Modifier and Type Method Description LedgerManagerFactory
ZKMetadataDriverBase. getLedgerManagerFactory()
MetadataBookieDriver
ZKMetadataBookieDriver. initialize(ServerConfiguration conf, StatsLogger statsLogger)
MetadataClientDriver
ZKMetadataClientDriver. initialize(ClientConfiguration conf, java.util.concurrent.ScheduledExecutorService scheduler, StatsLogger statsLogger, java.util.Optional<java.lang.Object> optionalCtx)
protected void
ZKMetadataDriverBase. initialize(AbstractConfiguration<?> conf, StatsLogger statsLogger, RetryPolicy zkRetryPolicy, java.util.Optional<java.lang.Object> optionalCtx)
-
Uses of MetadataException in org.apache.bookkeeper.tools.cli.commands.autorecovery
Methods in org.apache.bookkeeper.tools.cli.commands.autorecovery that throw MetadataException Modifier and Type Method Description boolean
ListUnderReplicatedCommand. handler(ServerConfiguration bkConf, ListUnderReplicatedCommand.LURFlags flags)
-
Uses of MetadataException in org.apache.bookkeeper.tools.cli.commands.bookie
Methods in org.apache.bookkeeper.tools.cli.commands.bookie that throw MetadataException Modifier and Type Method Description void
ListActiveLedgersCommand. handler(ServerConfiguration bkConf, ListActiveLedgersCommand.ActiveLedgerFlags cmdFlags)
boolean
ListLedgersCommand. handler(ServerConfiguration conf, ListLedgersCommand.ListLedgersFlags flags)
-