Package org.apache.jackrabbit.oak.plugins.document.mongo

Examples of org.apache.jackrabbit.oak.plugins.document.mongo.MongoBlobStore


    @Override
    public void setUp() throws Exception {
        mongoConnection = MongoUtils.getConnection();
        MongoUtils.dropCollections(mongoConnection.getDB());

        MongoBlobStore blobStore = new MongoBlobStore(mongoConnection.getDB());
        blobStore.setBlockSize(128);
        blobStore.setBlockSizeMin(48);
        this.store = blobStore;
    }
View Full Code Here


                if (this.documentStore == null) {
                    this.documentStore = new MongoDocumentStore(db, this);
                }

                if (this.blobStore == null) {
                    this.blobStore = new MongoBlobStore(db);
                }

                if (this.diffCache == null) {
                    this.diffCache = new MongoDiffCache(db, this);
                }
View Full Code Here

                if(this.documentStore == null){
                    this.documentStore = new MongoDocumentStore(db, this);
                }

                if(this.blobStore == null){
                    this.blobStore = new MongoBlobStore(db);
                }
            }
            return this;
        }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.document.mongo.MongoBlobStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.