Package org.apache.bookkeeper.meta
Classes for interacting with bookkeeper ledgers and ledger metadata.
-
Interface Summary Interface Description LayoutManager Layout manager for writing/reading/deleting ledger layout.LedgerAuditorManager Interface to handle the ledger auditor election.LedgerIdGenerator The interface for global unique ledger ID generation.LedgerManager LedgerManager takes responsibility of ledger management in client side.LedgerManager.LedgerRangeIterator Interface of the ledger meta range iterator from storage (e.g.LedgerManagerFactory A factory for creating ledger managers.LedgerUnderreplicationManager Interface for marking ledgers which need to be rereplicated.MetadataBookieDriver Driver to manage all the metadata managers required by a bookie server.MetadataClientDriver Driver to manage all the metadata managers required by a bookkeeper client.MetadataClientDriver.SessionStateListener State Listener on listening the metadata client session states. -
Class Summary Class Description AbstractHierarchicalLedgerManager An abstract class for managing hierarchical ledgers.AbstractZkLedgerManager Abstract ledger manager based on zookeeper, which provides common methods such as query zk nodes.AbstractZkLedgerManagerFactory Abstract ledger manager factory based on zookeeper, which provides common methods such as format and validateAndNukeExistingCluster.CleanupLedgerManager A ledger manager that cleans up resources upon closing.FlatLedgerManager Manage all ledgers in a single zk node.FlatLedgerManagerFactory Deprecated. since 4.7.0.HierarchicalLedgerManager 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.HierarchicalLedgerManagerFactory Legacy Hierarchical Ledger Manager Factory.LedgerLayout This class encapsulates ledger layout information that is persistently stored in registration service.LedgerManager.LedgerRange Used to represent the Ledgers range returned from the current scan.LedgerMetadataSerDe Serialization and deserialization for LedgerMetadata.LegacyHierarchicalLedgerManager Hierarchical Ledger Manager which manages ledger meta in zookeeper using 2-level hierarchical znodes.LegacyHierarchicalLedgerManagerFactory Hierarchical Ledger Manager Factory.LongHierarchicalLedgerManager LongHierarchical Ledger Manager which manages ledger meta in zookeeper using 5-level hierarchical znodes.LongHierarchicalLedgerManagerFactory LongHierarchical Ledger Manager Factory.LongZkLedgerIdGenerator ZooKeeper based ledger id generator class, which using EPHEMERAL_SEQUENTIAL with (ledgerIdGenPath)/HOB-[high-32-bits]/ID- prefix to generate ledger id.MetadataDrivers A driver manager for managing a set of metadata drivers.MetadataDrivers.MetadataBookieDriverInfo MetadataDrivers.MetadataClientDriverInfo MSLedgerManagerFactory Deprecated. since 4.7.0MSLedgerManagerFactory.MsLedgerManager MSLedgerManagerFactory.SyncResult<T> NullMetadataBookieDriver A no-op implementation of MetadataBookieDriver.NullMetadataBookieDriver.NullLayoutManager A no-op implementation of LayoutManager.NullMetadataBookieDriver.NullLedgerAuditorManager A no-op implementation of LedgerAuditorManager.NullMetadataBookieDriver.NullLedgerIdGenerator A no-op implementation of LedgerIdGenerator.NullMetadataBookieDriver.NullLedgerManager A no-op implementation of LedgerManager.NullMetadataBookieDriver.NullLedgerManagerFactory A no-op implementation of LedgerManagerFactory.NullMetadataBookieDriver.NullLedgerUnderreplicationManager A no-op implementation of LedgerUnderreplicationManager.NullMetadataBookieDriver.NullRegistrationManager A no-op implementation of RegistrationManager.UnderreplicatedLedger UnderReplicated ledger representation info.ZkLayoutManager Provide utils for writing/reading/deleting layout in zookeeper.ZkLedgerAuditorManager ZK based implementation of LedgerAuditorManager.ZkLedgerIdGenerator ZooKeeper based ledger id generator class, which using EPHEMERAL_SEQUENTIAL with (ledgerIdGenPath)/ID- prefix to generate ledger id.ZkLedgerUnderreplicationManager ZooKeeper implementation of underreplication manager. -
Enum Summary Enum Description LedgerAuditorManager.AuditorEvent Events that can be triggered by the LedgerAuditorManager. -
Exception Summary Exception Description LayoutManager.LedgerLayoutExistsException The Ledger layout exists exception.