@Override
    protected void init() throws FailStoreException {
        try {
            String dbName = dbPath.getPath() + "/lts.db";
            db = DBMaker.fileDB(new File(dbName))
                    .closeOnJvmShutdown()
                    .encryptionEnable("lts")
                    .make();
        } catch (Exception e) {
            throw new FailStoreException(e);
        }
    }
see http://www.mapdb.org/

@author Robert HG (254963746@qq.com) on 11/10/15.
lts-core/src/main/java/com/github/ltsopensource/core/failstore/mapdb/MapdbFailStore.java