public interface JournalFile
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Check if the journal already exists.
|
String |
getName()
Return the name representing the journal file.
|
JournalFileReader |
openJournalReader()
Opens the journal file for reading.
|
JournalFileWriter |
openJournalWriter()
Opens the journal file for writing.
|
JournalFileReader openJournalReader() throws IOException
JournalFileWriter
won't be visible until a new
JournalFileReader
is opened.IOException
JournalFileWriter openJournalWriter() throws IOException
IOException
String getName()
boolean exists()
true
if the journal has been already created by the
JournalFileWriter
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.