The GitHub Actions job "SonarCloud" on jackrabbit-oak.git has succeeded.
Run started by GitHub user Nicolapps (triggered by mreutegg).

Head commit for run:
aaa0c26135a0b8241851b229c1df6344f220333e / Nicolas Ettlin 
<[email protected]>
OAK-11155: Allow using a custom segment loading strategy

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

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/11068406785

With regards,
GitHub Actions via GitBox

Reply via email to