Package com.splout.db.engine

Examples of com.splout.db.engine.ManagerFactory


    long evictionSeconds = config.getLong(DNodeProperties.EH_CACHE_SECONDS);
    maxResultsPerQuery = config.getInt(DNodeProperties.MAX_RESULTS_PER_QUERY);
    int maxCachePools = config.getInt(DNodeProperties.EH_CACHE_N_ELEMENTS);
    absoluteSlowQueryLimit = config.getLong(DNodeProperties.SLOW_QUERY_ABSOLUTE_LIMIT);
    deployParallelism = config.getInt(DNodeProperties.DEPLOY_PARALLELISM);
    factory = new ManagerFactory();
    factory.init(config);
    // We create a Cache for holding SQL connection pools to different tablespace versions
    // http://stackoverflow.com/questions/2583429/how-to-differentiate-between-time-to-live-and-time-to-idle-in-ehcache
    dbCache = new Cache("dbCache", maxCachePools, false, false, Integer.MAX_VALUE, evictionSeconds);
    dbCache.initialise();
View Full Code Here

TOP

Related Classes of com.splout.db.engine.ManagerFactory

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.