@ThreadSafe public class InodeDirectoryIdGenerator extends Object implements Journaled
Constructor and Description |
---|
InodeDirectoryIdGenerator(ContainerIdGenerable containerIdGenerator) |
Modifier and Type | Method and Description |
---|---|
CheckpointName |
getCheckpointName() |
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
public InodeDirectoryIdGenerator(ContainerIdGenerable containerIdGenerator)
containerIdGenerator
- the container id generator to usepublic boolean processJournalEntry(Journal.JournalEntry entry)
Journaled
processJournalEntry
in interface Journaled
entry
- the entry to applypublic void resetState()
Journaled
resetState
in interface Journaled
public CloseableIterator<Journal.JournalEntry> getJournalEntryIterator()
getJournalEntryIterator
in interface JournalEntryIterable
CloseableIterator
that iterates all the journal entriespublic CheckpointName getCheckpointName()
getCheckpointName
in interface Checkpointed
Copyright © 2023. All Rights Reserved.