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/04 10:49:16 UTC
[jira] [Created] (OAK-746) Builder for the MongoMK
Thomas Mueller created OAK-746:
----------------------------------
Summary: Builder for the MongoMK
Key: OAK-746
URL: https://issues.apache.org/jira/browse/OAK-746
Project: Jackrabbit Oak
Issue Type: Bug
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