public interface JournalContext extends Closeable, java.util.function.Supplier<JournalContext>
Modifier and Type | Method and Description |
---|---|
void |
append(Journal.JournalEntry entry) |
void |
close() |
default JournalContext |
get() |
void append(Journal.JournalEntry entry)
entry
- the Journal.JournalEntry
to append to the journaldefault JournalContext get()
get
in interface java.util.function.Supplier<JournalContext>
void close() throws UnavailableException
close
in interface AutoCloseable
close
in interface Closeable
UnavailableException
Copyright © 2023. All Rights Reserved.