Package org.yamcs.yarch.rocksdb
Class RdbConfig
java.lang.Object
org.yamcs.yarch.rocksdb.RdbConfig
reads the rdbConfig from the yamcs.yaml and provides RocksDB Options when creating and opening databases
singleton
-
Nested Class Summary
-
Field Summary
-
Method Summary
-
Field Details
-
KEY_RDB_CONFIG
- See Also:
-
KEY_TABLESPACE_CONFIG
- See Also:
-
KEY_CF_CONFIG
- See Also:
-
KEY_OPTIONS
- See Also:
-
KEY_TABLESPACE_NAME_PATTERN
- See Also:
-
KEY_CF_PATTERN
- See Also:
-
KEY_TF_CONFIG
- See Also:
-
DEFAULT_MAX_OPEN_FILES
public static final int DEFAULT_MAX_OPEN_FILES- See Also:
-
-
Method Details
-
getInstance
- Returns:
- the singleton instance
-
getTablespaceConfig
- Parameters:
tablespaceName
-- Returns:
- the first tablespace config that matches the tablespace name or the default config if no config matches
-