Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-746

Builder for the MongoMK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.7
    • mongomk
    • None

    Description

      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:

      MongoMK mk = new MongoMK.Builder().
          setMongoDB(db).
          setClusterId(clusterId).
          setAsyncDelay(10).
          open();
      

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: