[
https://issues.apache.org/jira/browse/OAK-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547919#comment-14547919
]
Alex Parvulescu commented on OAK-2870:
--------------------------------------
done with http://svn.apache.org/r1679998
I also marked the constructor as deprecated, by introducing a dummy flag to
differentiate between legal calls from the builder and deprecated ones from the
outside.
> Introduce a SegmentNodeStoreBuilder to help wire a SegmentNodeStore
> -------------------------------------------------------------------
>
> Key: OAK-2870
> URL: https://issues.apache.org/jira/browse/OAK-2870
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, segmentmk
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 1.3.0
>
> Attachments: OAK-2870.patch
>
>
> Exposing the SegmentNodeStore for tests outside oak-core is quite tricky as
> you need to access some compaction related methods which are basically
> private and it doesn't make much sense in making them public.
> So I'm proposing introducing a builder to help wire in a SegmentNodeStore if
> needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)