@ThreadSafe public class FileSystemJournalEntryMerger extends Object implements JournalEntryMerger
Constructor and Description |
---|
FileSystemJournalEntryMerger() |
Modifier and Type | Method and Description |
---|---|
void |
add(Journal.JournalEntry entry)
Adds a new journal entry and merges it on the fly.
|
void |
clear()
Clears the existing journal entries.
|
List<Journal.JournalEntry> |
getMergedJournalEntries()
Returns a list of journal entries which have been merged.
|
public void add(Journal.JournalEntry entry)
add
in interface JournalEntryMerger
entry
- the new journal entry to addpublic List<Journal.JournalEntry> getMergedJournalEntries()
JournalEntryMerger
getMergedJournalEntries
in interface JournalEntryMerger
public void clear()
JournalEntryMerger
clear
in interface JournalEntryMerger
Copyright © 2023. All Rights Reserved.