Package org.apache.bookkeeper.bookie.storage.ldb
Classes related to DB based ledger storage.
-
Interface Summary Interface Description DbLedgerStorageDataFormats.LedgerDataOrBuilder KeyValueStorage Abstraction of a generic key-value local database.KeyValueStorage.Batch Interface for a batch to be written in the storage.KeyValueStorage.CloseableIterator<T> Iterator interface.KeyValueStorageFactory Factory class to create instances of the key-value storage implementation.SingleDirectoryDbLedgerStorage.LedgerLoggerProcessor Interface which process ledger logger.WriteCache.EntryConsumer Consumer that is used to scan the entire write cache. -
Class Summary Class Description ArrayGroupSort Sort an array of longs, grouping the items in tuples.ArrayUtil Utility to serialize/deserialize longs into byte arrays.DbLedgerStorage Implementation of LedgerStorage that uses RocksDB to keep the indexes for entries stored in EntryLogs.DbLedgerStorageDataFormats DbLedgerStorageDataFormats.LedgerData Ledger metadata stored in the bookieDbLedgerStorageDataFormats.LedgerData.Builder Ledger metadata stored in the bookieDbLedgerStorageStats A umbrella class for db ledger storage stats with one instance per ledger directory.EntryLocationIndex Maintains an index of the entry locations in the EntryLogger.EntryLocationIndexStats A umbrella class for ledger metadata index stats.KeyValueStorageRocksDB RocksDB based implementation of the KeyValueStorage.LedgerMetadataIndex Maintains an index for the ledgers metadata.LedgerMetadataIndexStats A umbrella class for ledger metadata index stats.LedgersIndexCheckOp Scan the ledgers index to make sure it is readable.LedgersIndexRebuildOp Scan all entries in the journal and entry log files then rebuilds the ledgers index.LocationsIndexRebuildOp Scan all entries in the entry log and rebuild the locations index.LongPairWrapper Recyclable wrapper that holds a pair of longs.LongWrapper Wrapper for a long serialized into a byte array.PersistentEntryLogMetadataMap Persistent entryLogMetadata-map that stores entry-loggers metadata into rocksDB.ReadCache Read cache implementation.SingleDirectoryDbLedgerStorage Single directory implementation of LedgerStorage that uses RocksDB to keep the indexes for entries stored in EntryLogs.TransientLedgerInfo This class borrows the logic from FileInfo.WriteCache Write cache implementation. -
Enum Summary Enum Description KeyValueStorageFactory.DbConfigType Enum used to specify different config profiles in the underlying storage.