Package io.atomix.storage.journal
Interface JournalReader.EntryMapper<E,T>
- Type Parameters:
E- Entry typeT- 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.
A journal entry processor. Responsible for transforming entries into their internal representation.
-
Method Summary
-
Method Details
-
mapEntry
Process an entry.- Parameters:
index- entry indexentry- entry itselfsize- entry size- Returns:
- resulting internal representation
-