private static Map < String , String > loadDatabaseConfig ( final Configuration config ) { // create database configuration final Map < String , String > databaseConfig = new HashMap < String , String > ( ) ; // fill database configuration databaseConfig . put ( "cache_type" , config . getCacheType ( ) ) ; databaseConfig . put ( "use_memory_mapped_buffers" , config . getUseMemoryMappedBuffers ( ) ) ; return databaseConfig ; }
load the database configuration map for neo4j databases