Class AwsJournalFile
java.lang.Object
org.apache.jackrabbit.oak.segment.aws.AwsJournalFile
- All Implemented Interfaces:
JournalFile
-
Constructor Details
-
AwsJournalFile
-
-
Method Details
-
openJournalReader
Description copied from interface:JournalFileOpens the journal file for reading. The returned object will represent the current state of the journal. Subsequent writes made by theJournalFileWriterwon't be visible until a newJournalFileReaderis opened.- Specified by:
openJournalReaderin interfaceJournalFile- Returns:
- the reader representing the current state of the journal
- Throws:
IOException
-
openJournalWriter
Description copied from interface:JournalFileOpens the journal file for writing.- Specified by:
openJournalWriterin interfaceJournalFile- Returns:
- Throws:
IOException
-
getName
Description copied from interface:JournalFileReturn the name representing the journal file.- Specified by:
getNamein interfaceJournalFile- Returns:
- name (eg. file name) representing the journal
-
exists
public boolean exists()Description copied from interface:JournalFileCheck if the journal already exists.- Specified by:
existsin interfaceJournalFile- Returns:
trueif the journal has been already created by theJournalFileWriter
-