public void destroy() throws FailStoreException {
        try {
            close();
            JniDBFactory.factory.destroy(dbPath, options);
        } catch (IOException e) {
            throw new FailStoreException(e);
        } finally {
            if (fileLock != null) {
                fileLock.release();
            }
            FileUtils.delete(dbPath);
        }
    }
Only a single process (possibly multi-threaded) can access a particular database at a time
Robert HG (254963746@qq.com) on 5/21/15.
lts-core/src/main/java/com/github/ltsopensource/core/failstore/leveldb/LeveldbFailStore.java