You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/04/10 11:12:16 UTC

[jira] [Resolved] (OAK-746) Builder for the MongoMK

     [ https://issues.apache.org/jira/browse/OAK-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved OAK-746.
--------------------------------

    Resolution: Fixed
    
> Builder for the MongoMK
> -----------------------
>
>                 Key: OAK-746
>                 URL: https://issues.apache.org/jira/browse/OAK-746
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>
> The MongoMK currently has multiple constructors, and it's likely that more config parameters will be added (some of them to simplify testing). Instead of adding even more constructors, a builder (factory) with a fluent API would be nice. Example usage:
> {code}
> MongoMK mk = new MongoMK.Builder().
>     setMongoDB(db).
>     setClusterId(clusterId).
>     setAsyncDelay(10).
>     open();
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira