public abstract class SingleEntryJournaled extends Object implements Journaled
LOG
Constructor and Description |
---|
SingleEntryJournaled() |
Modifier and Type | Method and Description |
---|---|
Journal.JournalEntry |
getEntry() |
CloseableIterator<Journal.JournalEntry> |
getJournalEntryIterator() |
boolean |
processJournalEntry(Journal.JournalEntry entry)
Attempts to apply a journal entry.
|
void |
resetState()
Resets the object's journaled state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyAndJournal, restoreFromCheckpoint, writeToCheckpoint
getCheckpointName, restoreFromCheckpoint, writeToCheckpoint
public CloseableIterator<Journal.JournalEntry> getJournalEntryIterator()
getJournalEntryIterator
in interface JournalEntryIterable
CloseableIterator
that iterates all the journal entriespublic boolean processJournalEntry(Journal.JournalEntry entry)
Journaled
processJournalEntry
in interface Journaled
entry
- the entry to applypublic void resetState()
Journaled
resetState
in interface Journaled
public Journal.JournalEntry getEntry()
Copyright © 2023. All Rights Reserved.