@ThreadSafe public class InodeDirectoryIdGenerator extends Object implements Journaled
Constructor and Description |
---|
InodeDirectoryIdGenerator(ContainerIdGenerable containerIdGenerator) |
Modifier and Type | Method and Description |
---|---|
CheckpointName |
getCheckpointName() |
Iterator<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 Iterator<Journal.JournalEntry> getJournalEntryIterator()
getJournalEntryIterator
in interface JournalEntryIterable
Iterator
that iterates all the journal entriespublic CheckpointName getCheckpointName()
getCheckpointName
in interface Checkpointed
Copyright © 2023. All Rights Reserved.