@ThreadSafe public final class UfsJournalSnapshot extends Object
Modifier and Type | Method and Description |
---|---|
List<UfsJournalFile> |
getCheckpoints() |
static UfsJournalFile |
getCurrentLog(UfsJournal journal)
Gets the current log (the incomplete log) that is being written to.
|
UfsJournalFile |
getLatestCheckpoint() |
List<UfsJournalFile> |
getLogs() |
static UfsJournalSnapshot |
getSnapshot(UfsJournal journal)
Creates a snapshot of the journal.
|
List<UfsJournalFile> |
getTemporaryCheckpoints() |
public List<UfsJournalFile> getCheckpoints()
public UfsJournalFile getLatestCheckpoint()
public List<UfsJournalFile> getLogs()
public List<UfsJournalFile> getTemporaryCheckpoints()
public static UfsJournalSnapshot getSnapshot(UfsJournal journal) throws IOException
journal
- the journalIOException
public static UfsJournalFile getCurrentLog(UfsJournal journal) throws IOException
journal
- the journalIOException
Copyright © 2023. All Rights Reserved.