Package org.neo4j.kernel

Examples of org.neo4j.kernel.AbstractGraphDatabase.shutdown()


        AbstractGraphDatabase graph = database.graph;
        String storeDir = graph.getStoreDir();
        if (storeDir == null) {
            storeDir = config.getString(DATABASE_LOCATION_PROPERTY_KEY);
        }
        graph.shutdown();
        Map<String, Object> result = removeDirectory(storeDir);

        // TODO wtf?
        // database.graph = new EmbeddedGraphDatabase(storeDir, graph.getKernelData().getConfigParams());
        database.start();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.