Package org.locationtech.geogig.storage.bdbje

Examples of org.locationtech.geogig.storage.bdbje.EnvironmentBuilder


        envCfg.setConfigParam(EnvironmentConfig.ENV_RUN_CLEANER, "false");
        envCfg.setConfigParam(EnvironmentConfig.ENV_RUN_CHECKPOINTER, "false");
        envCfg.setConfigParam("je.evictor.lruOnly", "false");
        envCfg.setConfigParam("je.evictor.nodesPerScan", "1000");

        EnvironmentBuilder environmentBuilder = new EnvironmentBuilder(platform);
        environmentBuilder.setRelativePath("tmp", "pointcache", envName);
        environmentBuilder.setIsStagingDatabase(true);
        environmentBuilder.setConfig(envCfg);

        this.environment = environmentBuilder.get();

        DatabaseConfig dbc = new DatabaseConfig();
        dbc.setAllowCreate(true);
        dbc.setTemporary(true);
        this.database = this.environment.openDatabase(null, "pointcache", dbc);
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.storage.bdbje.EnvironmentBuilder

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.