Nicolapps opened a new pull request, #1747: URL: https://github.com/apache/jackrabbit-oak/pull/1747
Currently, `AbstractFileStore` loads segments from the tar files by calling its package-private `readSegmentUncached` method. This is too limiting when its user needs to customize the segment loading strategy. This PR allows the user of `AbstractFileStore` to customize the behavior of `readSegmentUncached` by adding a new `@FunctionalInterface` parameter, `SegmentLoader`. If not set explicitly by the caller, FileStoreBuilder uses an implementation of `SegmentLoader` which behaves the same way as it currently does, which makes this change backwards-compatible with existing code. Closes OAK-11155 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
