Interface EntryLogMetadataMap

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
InMemoryEntryLogMetadataMap, PersistentEntryLogMetadataMap

public interface EntryLogMetadataMap extends Closeable
Map-store to store Entrylogger metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear all records from the map.
    boolean
    containsKey(long entryLogId)
    Checks if record with entryLogId exists into the map.
    void
    Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.
    void
    forKey(long entryLogId, BiConsumer<Long,EntryLogMetadata> action)
    Performs the given action for the key.
    default boolean
    Returns true if there are no elements in the map.
    void
    put(long entryLogId, EntryLogMetadata entryLogMeta)
    Adds entryLogMetadata record into the map.
    void
    remove(long entryLogId)
    Removes entryLogMetadata record from the map.
    int
    Returns number of entryLogMetadata records presents into the map.

    Methods inherited from interface java.io.Closeable

    close