private DB<String, String> getDB() {

        try {
            FileUtils.createDirIfNotExist(path + "/ltsdb");
        } catch (IOException e) {
            e.printStackTrace();
        }

        final DB<String, String> db =
                new DBBuilder<String, String>()
                        .setPath(path + "/ltsdb")
                        .create();
        return db;
    }
@author Robert HG (254963746@qq.com) on 12/13/15.
lts-core/src/test/java/com/github/ltsopensource/core/failstore/ltsdb/DBTest.java