public class RocksDBSstSessions extends RocksDBSessions
RocksDBSessions.Countable, RocksDBSessions.Session| 构造器和说明 |
|---|
RocksDBSstSessions(HugeConfig config,
String database,
String store,
String dataPath) |
RocksDBSstSessions(HugeConfig config,
String dataPath,
String database,
String store,
List<String> tableNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
RocksDBSessions |
copy(HugeConfig config,
String database,
String store) |
void |
createSnapshot(String snapshotPath) |
void |
createTable(String... tables) |
protected void |
doClose() |
void |
dropTable(String... tables) |
void |
dropTable(String table) |
boolean |
existsTable(String table) |
void |
forceCloseRocksDB() |
protected RocksDBSessions.Session |
newSession() |
void |
open() |
protected boolean |
opened() |
Set<String> |
openedTables() |
List<String> |
property(String property) |
void |
reload() |
RocksDBSessions.Session |
session() |
close, closed, config, forceResetSessions, getOrNewSession, toString, useSessionpublic RocksDBSstSessions(HugeConfig config, String database, String store, String dataPath)
public void open()
throws Exception
open 在类中 BackendSessionPoolExceptionprotected boolean opened()
opened 在类中 BackendSessionPoolpublic Set<String> openedTables()
openedTables 在类中 RocksDBSessionspublic void createTable(String... tables) throws org.rocksdb.RocksDBException
createTable 在类中 RocksDBSessionsorg.rocksdb.RocksDBExceptionpublic void dropTable(String... tables) throws org.rocksdb.RocksDBException
dropTable 在类中 RocksDBSessionsorg.rocksdb.RocksDBExceptionpublic void dropTable(String table) throws org.rocksdb.RocksDBException
org.rocksdb.RocksDBExceptionpublic boolean existsTable(String table)
existsTable 在类中 RocksDBSessionspublic List<String> property(String property)
property 在类中 RocksDBSessionspublic RocksDBSessions copy(HugeConfig config, String database, String store)
copy 在类中 RocksDBSessionspublic void createSnapshot(String snapshotPath)
createSnapshot 在类中 RocksDBSessionspublic void reload()
throws org.rocksdb.RocksDBException
reload 在类中 RocksDBSessionsorg.rocksdb.RocksDBExceptionpublic void forceCloseRocksDB()
forceCloseRocksDB 在类中 RocksDBSessionspublic final RocksDBSessions.Session session()
session 在类中 RocksDBSessionsprotected RocksDBSessions.Session newSession()
newSession 在类中 BackendSessionPoolprotected void doClose()
doClose 在类中 BackendSessionPoolCopyright © 2017–2021. All rights reserved.