Uses of Class
org.apache.bookkeeper.bookie.BookieException.EntryLogMetadataMapException
-
Packages that use BookieException.EntryLogMetadataMapException Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.storage.ldb Classes related to DB based ledger storage. -
-
Uses of BookieException.EntryLogMetadataMapException in org.apache.bookkeeper.bookie
Methods in org.apache.bookkeeper.bookie that throw BookieException.EntryLogMetadataMapException Modifier and Type Method Description void
EntryLogMetadataMap. clear()
Clear all records from the map.boolean
EntryLogMetadataMap. containsKey(long entryLogId)
Checks if record with entryLogId exists into the map.(package private) void
GarbageCollectorThread. doCompactEntryLogs(double threshold, long maxTimeMillis)
Compact entry logs if necessary.protected void
GarbageCollectorThread. extractMetaFromEntryLogs()
Method to read in all of the entry logs (those that we haven't done so yet), and find the set of ledger ID's that make up each entry log file.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
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)
default boolean
EntryLogMetadataMap. isEmpty()
Returns true if there are no elements in the map.void
EntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)
Adds entryLogMetadata record into the map.void
EntryLogMetadataMap. remove(long entryLogId)
Removes entryLogMetadata record from the map.protected boolean
GarbageCollectorThread. removeEntryLog(long entryLogId)
Remove entry log.int
EntryLogMetadataMap. size()
Returns number of entryLogMetadata records presents into the map. -
Uses of BookieException.EntryLogMetadataMapException in org.apache.bookkeeper.bookie.storage.ldb
Methods in org.apache.bookkeeper.bookie.storage.ldb that throw BookieException.EntryLogMetadataMapException Modifier and Type Method Description void
PersistentEntryLogMetadataMap. clear()
boolean
PersistentEntryLogMetadataMap. containsKey(long entryLogId)
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.void
PersistentEntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)
void
PersistentEntryLogMetadataMap. remove(long entryLogId)
int
PersistentEntryLogMetadataMap. size()
void
PersistentEntryLogMetadataMap. throwIfClosed()
-