Uses of Class
org.apache.bookkeeper.bookie.EntryLogMetadata
-
Packages that use EntryLogMetadata Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.storage Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.storage.directentrylogger Support for bookie entry logs using Direct IO.org.apache.bookkeeper.bookie.storage.ldb Classes related to DB based ledger storage. -
-
Uses of EntryLogMetadata in org.apache.bookkeeper.bookie
Subclasses of EntryLogMetadata in org.apache.bookkeeper.bookie Modifier and Type Class Description static class
EntryLogMetadata.EntryLogMetadataRecyclable
RecyclableEntryLogMetadata
class.Methods in org.apache.bookkeeper.bookie that return EntryLogMetadata Modifier and Type Method Description (package private) EntryLogMetadata
DefaultEntryLogger. extractEntryLogMetadataFromIndex(long entryLogId)
EntryLogMetadata
DefaultEntryLogger. getEntryLogMetadata(long entryLogId, AbstractLogCompactor.Throttler throttler)
Methods in org.apache.bookkeeper.bookie with parameters of type EntryLogMetadata Modifier and Type Method Description abstract boolean
AbstractLogCompactor. compact(EntryLogMetadata entryLogMeta)
Compact entry log file.boolean
EntryLogCompactor. compact(EntryLogMetadata entryLogMeta)
boolean
TransactionalEntryLogCompactor. compact(EntryLogMetadata metadata)
protected void
GarbageCollectorThread. compactEntryLog(EntryLogMetadata entryLogMeta)
Compact an entry log.(package private) EntryLogScanner
EntryLogCompactor.CompactionScannerFactory. newScanner(EntryLogMetadata meta)
void
EntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)
Adds entryLogMetadata record into the map.void
InMemoryEntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)
Method parameters in org.apache.bookkeeper.bookie with type arguments of type EntryLogMetadata Modifier and Type Method Description void
EntryLogMetadataMap. forEach(java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)
Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.void
InMemoryEntryLogMetadataMap. forEach(java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)
void
EntryLogMetadataMap. forKey(long entryLogId, java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)
Performs the given action for the key.void
InMemoryEntryLogMetadataMap. forKey(long entryLogId, java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)
Constructors in org.apache.bookkeeper.bookie with parameters of type EntryLogMetadata Constructor Description ScanEntryLogPhase(EntryLogMetadata metadata, CompactionEntryLog compactionLog)
-
Uses of EntryLogMetadata in org.apache.bookkeeper.bookie.storage
Methods in org.apache.bookkeeper.bookie.storage that return EntryLogMetadata Modifier and Type Method Description default EntryLogMetadata
EntryLogger. getEntryLogMetadata(long entryLogId)
Retrieve metadata for the given entrylog ID.EntryLogMetadata
EntryLogger. getEntryLogMetadata(long entryLogId, AbstractLogCompactor.Throttler throttler)
Retrieve metadata for the given entrylog ID. -
Uses of EntryLogMetadata in org.apache.bookkeeper.bookie.storage.directentrylogger
Methods in org.apache.bookkeeper.bookie.storage.directentrylogger that return EntryLogMetadata Modifier and Type Method Description EntryLogMetadata
DirectEntryLogger. getEntryLogMetadata(long entryLogId, AbstractLogCompactor.Throttler throttler)
(package private) static EntryLogMetadata
LogMetadata. read(LogReader reader)
(package private) EntryLogMetadata
DirectEntryLogger. readEntryLogIndex(long logId)
(package private) EntryLogMetadata
DirectEntryLogger. scanEntryLogMetadata(long logId, AbstractLogCompactor.Throttler throttler)
Methods in org.apache.bookkeeper.bookie.storage.directentrylogger with parameters of type EntryLogMetadata Modifier and Type Method Description (package private) static void
LogMetadata. write(LogWriter writer, EntryLogMetadata metadata, io.netty.buffer.ByteBufAllocator allocator)
Constructors in org.apache.bookkeeper.bookie.storage.directentrylogger with parameters of type EntryLogMetadata Constructor Description WriterWithMetadata(LogWriter writer, EntryLogMetadata metadata, io.netty.buffer.ByteBufAllocator allocator)
-
Uses of EntryLogMetadata in org.apache.bookkeeper.bookie.storage.ldb
Methods in org.apache.bookkeeper.bookie.storage.ldb with parameters of type EntryLogMetadata Modifier and Type Method Description void
PersistentEntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)
Method parameters in org.apache.bookkeeper.bookie.storage.ldb with type arguments of type EntryLogMetadata Modifier and Type Method Description void
PersistentEntryLogMetadataMap. forEach(java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)
EntryLogMetadata
life-cycle in supplied action will be transient and it will be recycled as soon as supplied action is completed.void
PersistentEntryLogMetadataMap. forKey(long entryLogId, java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)
EntryLogMetadata
life-cycle in supplied action will be transient and it will be recycled as soon as supplied action is completed.
-