Examples of BerkeleyJEStoreManager


Examples of com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager

    public void cleanUp() throws StorageException {
        synchronized (openDirs) {
            for (String dir : openDirs) {
                BaseConfiguration config = new BaseConfiguration();
                config.addProperty(GraphDatabaseConfiguration.STORAGE_DIRECTORY_KEY, dir);
                BerkeleyJEStoreManager s = new BerkeleyJEStoreManager(config);
                s.clearStorage();
                File dirFile = new File(dir);
                Assert.assertFalse(dirFile.exists() && dirFile.listFiles().length > 0);
            }
        }
    }
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.