jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1466394 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
Date Wed, 10 Apr 2013 09:11:17 GMT
Author: thomasm
Date: Wed Apr 10 09:11:17 2013
New Revision: 1466394

URL: http://svn.apache.org/r1466394
Log:
OAK-746 Builder for the MongoMK

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java?rev=1466394&r1=1466393&r2=1466394&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
Wed Apr 10 09:11:17 2013
@@ -155,34 +155,6 @@ public class MongoMK implements MicroKer
      */
     private final Map<Revision, Revision> branchCommits
             = new ConcurrentHashMap<Revision, Revision>();
-
-    /**
-     * Create a new in-memory MongoMK used for testing.
-     */
-    public MongoMK() {
-        this(new Builder());
-    }
-    
-    /**
-     * Create a new MongoMK.
-     * 
-     * @param db the MongoDB connection (null for in-memory)
-     * @param clusterId the cluster id (must be unique)
-     */
-    public MongoMK(DB db, int clusterId) {
-        this(new Builder().setMongoDB(db).setClusterId(clusterId));
-    }
-
-    /**
-     * Create a new MongoMK.
-     *
-     * @param store the store (might be shared)
-     * @param blobStore the blob store to use
-     * @param clusterId the cluster id (must be unique)
-     */
-    public MongoMK(DocumentStore store, BlobStore blobStore, int clusterId) {
-        this(new Builder().setDocumentStore(store).setBlobStore(blobStore).setClusterId(clusterId));
-    }
     
     MongoMK(Builder builder) {
         this.store = builder.getDocumentStore();



Mime
View raw message