Interface JournalReader.EntryMapper<E,T>

Type Parameters:
E - Entry type
T - Internal representation type
Enclosing interface:
JournalReader<E>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface JournalReader.EntryMapper<E,T>
A journal entry processor. Responsible for transforming entries into their internal representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    mapEntry(long index, E entry, int size)
    Process an entry.
  • Method Details

    • mapEntry

      T mapEntry(long index, E entry, int size)
      Process an entry.
      Parameters:
      index - entry index
      entry - entry itself
      size - entry size
      Returns:
      resulting internal representation