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 voidEntryLogMetadataMap. clear()Clear all records from the map.booleanEntryLogMetadataMap. containsKey(long entryLogId)Checks if record with entryLogId exists into the map.(package private) voidGarbageCollectorThread. doCompactEntryLogs(double threshold, long maxTimeMillis)Compact entry logs if necessary.protected voidGarbageCollectorThread. 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.voidEntryLogMetadataMap. 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.voidEntryLogMetadataMap. forKey(long entryLogId, java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)Performs the given action for the key.voidInMemoryEntryLogMetadataMap. forKey(long entryLogId, java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)default booleanEntryLogMetadataMap. isEmpty()Returns true if there are no elements in the map.voidEntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)Adds entryLogMetadata record into the map.voidEntryLogMetadataMap. remove(long entryLogId)Removes entryLogMetadata record from the map.protected booleanGarbageCollectorThread. removeEntryLog(long entryLogId)Remove entry log.intEntryLogMetadataMap. 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 voidPersistentEntryLogMetadataMap. clear()booleanPersistentEntryLogMetadataMap. containsKey(long entryLogId)voidPersistentEntryLogMetadataMap. forEach(java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)EntryLogMetadatalife-cycle in supplied action will be transient and it will be recycled as soon as supplied action is completed.voidPersistentEntryLogMetadataMap. forKey(long entryLogId, java.util.function.BiConsumer<java.lang.Long,EntryLogMetadata> action)EntryLogMetadatalife-cycle in supplied action will be transient and it will be recycled as soon as supplied action is completed.voidPersistentEntryLogMetadataMap. put(long entryLogId, EntryLogMetadata entryLogMeta)voidPersistentEntryLogMetadataMap. remove(long entryLogId)intPersistentEntryLogMetadataMap. size()voidPersistentEntryLogMetadataMap. throwIfClosed()
-