Package org.apache.bookkeeper.meta
package org.apache.bookkeeper.meta
Classes for interacting with bookkeeper ledgers and ledger metadata.
-
ClassDescriptionAn abstract class for managing hierarchical ledgers.Abstract ledger manager based on zookeeper, which provides common methods such as query zk nodes.Abstract ledger manager factory based on zookeeper, which provides common methods such as format and validateAndNukeExistingCluster.A ledger manager that cleans up resources upon closing.Manage all ledgers in a single zk node.Deprecated.since 4.7.0.HierarchicalLedgerManager makes use of both LongHierarchicalLedgerManager and LegacyHierarchicalLedgerManager to extend the 31-bit ledger id range of the LegacyHierarchicalLedgerManager to that of the LongHierarchicalLedgerManager while remaining backwards-compatible with the legacy manager.Legacy Hierarchical Ledger Manager Factory.Layout manager for writing/reading/deleting ledger layout.The Ledger layout exists exception.Interface to handle the ledger auditor election.Events that can be triggered by the LedgerAuditorManager.The interface for global unique ledger ID generation.This class encapsulates ledger layout information that is persistently stored in registration service.LedgerManager takes responsibility of ledger management in client side.Used to represent the Ledgers range returned from the current scan.Interface of the ledger meta range iterator from storage (e.g.A factory for creating ledger managers.Serialization and deserialization for LedgerMetadata.Interface for marking ledgers which need to be rereplicated.Hierarchical Ledger Manager which manages ledger meta in zookeeper using 2-level hierarchical znodes.Hierarchical Ledger Manager Factory.LongHierarchical Ledger Manager which manages ledger meta in zookeeper using 5-level hierarchical znodes.LongHierarchical Ledger Manager Factory.ZooKeeper based ledger id generator class, which using EPHEMERAL_SEQUENTIAL with (ledgerIdGenPath)/HOB-[high-32-bits]/ID- prefix to generate ledger id.Driver to manage all the metadata managers required by a bookie server.Driver to manage all the metadata managers required by a bookkeeper client.State Listener on listening the metadata client session states.A driver manager for managing a set of metadata drivers.Deprecated.since 4.7.0A no-op implementation of MetadataBookieDriver.A no-op implementation of LayoutManager.A no-op implementation of LedgerAuditorManager.A no-op implementation of LedgerIdGenerator.A no-op implementation of LedgerManager.A no-op implementation of LedgerManagerFactory.A no-op implementation of LedgerUnderreplicationManager.A no-op implementation of RegistrationManager.UnderReplicated ledger representation info.Provide utils for writing/reading/deleting layout in zookeeper.ZK based implementation of LedgerAuditorManager.ZooKeeper based ledger id generator class, which using EPHEMERAL_SEQUENTIAL with (ledgerIdGenPath)/ID- prefix to generate ledger id.ZooKeeper implementation of underreplication manager.