@Override
    protected void init() throws FailStoreException {
        try {
            options = new Options();
            options.createIfMissing(true);
            options.cacheSize(100 * 1024 * 1024);   // 100M
            options.maxOpenFiles(400);
        } catch (Exception e) {
            throw new FailStoreException(e);
        }
    }
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