Package org.apache.bookkeeper.bookie.storage.ldb
package org.apache.bookkeeper.bookie.storage.ldb
Classes related to DB based ledger storage.
-
ClassDescriptionSort an array of longs, grouping the items in tuples.Utility to serialize/deserialize longs into byte arrays.Implementation of LedgerStorage that uses RocksDB to keep the indexes for entries stored in EntryLogs.* Ledger metadata stored in the bookie* Ledger metadata stored in the bookieA umbrella class for db ledger storage stats with one instance per ledger directory.Maintains an index of the entry locations in the EntryLogger.A umbrella class for ledger metadata index stats.Abstraction of a generic key-value local database.Interface for a batch to be written in the storage.Iterator interface.Factory class to create instances of the key-value storage implementation.Enum used to specify different config profiles in the underlying storage.RocksDB based implementation of the KeyValueStorage.Maintains an index for the ledgers metadata.A umbrella class for ledger metadata index stats.Scan the ledgers index to make sure it is readable.Scan all entries in the journal and entry log files then rebuilds the ledgers index.Scan all entries in the entry log and rebuild the locations index.Recyclable wrapper that holds a pair of longs.Wrapper for a long serialized into a byte array.Persistent entryLogMetadata-map that stores entry-loggers metadata into rocksDB.Read cache implementation.Single directory implementation of LedgerStorage that uses RocksDB to keep the indexes for entries stored in EntryLogs.Interface which process ledger logger.This class borrows the logic from FileInfo.Write cache implementation.Consumer that is used to scan the entire write cache.