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();