public interface JournalOutputStream extends AutoCloseable
Journal.JournalEntry
objects to the journal. This output stream can
write to both the journal checkpoint and the journal logs.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream.
|
void |
flush()
Flushes the stream.
|
void |
write(Journal.JournalEntry entry)
Writes a
Journal.JournalEntry to the journal. |
void write(Journal.JournalEntry entry) throws IOException
Journal.JournalEntry
to the journal.entry
- the entry to write to the journalIOException
void close() throws IOException
close
in interface AutoCloseable
IOException
void flush() throws IOException
IOException
Copyright © 2023. All Rights Reserved.