leveldb-api:(4)DBFactroy.java

定义DB工厂类:open,destroy,repair

public interface DBFactory
{
    DB open(File path, Options options)
            throws IOException;

    void destroy(File path, Options options)
            throws IOException;

    void repair(File path, Options options)
            throws IOException;
}

leveldb/DBFactory.java at master · dain/leveldb · GitHub

posted @ 2022-07-18 16:39  只能说运气有点好  阅读(22)  评论(0)    收藏  举报