Class AzureGCJournalFileV8
java.lang.Object
org.apache.jackrabbit.oak.segment.azure.v8.AzureGCJournalFileV8
- All Implemented Interfaces:
GCJournalFile
-
Constructor Summary
ConstructorsConstructorDescriptionAzureGCJournalFileV8
(com.microsoft.azure.storage.blob.CloudAppendBlob gcJournal) -
Method Summary
-
Constructor Details
-
AzureGCJournalFileV8
public AzureGCJournalFileV8(com.microsoft.azure.storage.blob.CloudAppendBlob gcJournal)
-
-
Method Details
-
writeLine
Description copied from interface:GCJournalFile
Write the new line to the GC journal file.- Specified by:
writeLine
in interfaceGCJournalFile
- Parameters:
line
- the line to write. It should contain neither special characters nor the newline\n
.- Throws:
IOException
-
readLines
Description copied from interface:GCJournalFile
Return the list of all written records in the same order as they were written.- Specified by:
readLines
in interfaceGCJournalFile
- Returns:
- the list of all written lines
- Throws:
IOException
-
truncate
Description copied from interface:GCJournalFile
Removes the content of the gc.log- Specified by:
truncate
in interfaceGCJournalFile
- Throws:
IOException
-