use of org.apache.jackrabbit.oak.segment.azure.AzureJournalFile in project jackrabbit-oak by apache.
the class AzureJournalReaderTest method createJournalReader.
protected JournalReader createJournalReader(String s) throws IOException {
try {
CloudAppendBlob blob = container.getAppendBlobReference("journal/journal.log.001");
blob.createOrReplace();
blob.appendText(s);
return new JournalReader(new AzureJournalFile(container.getDirectoryReference("journal"), "journal.log"));
} catch (StorageException | URISyntaxException e) {
throw new IOException(e);
}
}
Aggregations