public class RocksDBConfigurableOptions extends Object implements Serializable
DefaultConfigurableOptionsFactory
.
If nothing specified, RocksDB's options would be configured by PredefinedOptions
and
user-defined RocksDBOptionsFactory
.
If some options has been specifically configured, a corresponding DefaultConfigurableOptionsFactory
would be created and applied on top of PredefinedOptions
except if a user-defined RocksDBOptionsFactory
overrides it.
Modifier and Type | Field and Description |
---|---|
static ConfigOption<MemorySize> |
BLOCK_CACHE_SIZE |
static ConfigOption<MemorySize> |
BLOCK_SIZE |
static ConfigOption<org.rocksdb.CompactionStyle> |
COMPACTION_STYLE |
static ConfigOption<Integer> |
MAX_BACKGROUND_THREADS |
static ConfigOption<Integer> |
MAX_OPEN_FILES |
static ConfigOption<MemorySize> |
MAX_SIZE_LEVEL_BASE |
static ConfigOption<Integer> |
MAX_WRITE_BUFFER_NUMBER |
static ConfigOption<Integer> |
MIN_WRITE_BUFFER_NUMBER_TO_MERGE |
static ConfigOption<MemorySize> |
TARGET_FILE_SIZE_BASE |
static ConfigOption<Boolean> |
USE_DYNAMIC_LEVEL_SIZE |
static ConfigOption<MemorySize> |
WRITE_BATCH_SIZE |
static ConfigOption<MemorySize> |
WRITE_BUFFER_SIZE |
Constructor and Description |
---|
RocksDBConfigurableOptions() |
public static final ConfigOption<Integer> MAX_BACKGROUND_THREADS
public static final ConfigOption<Integer> MAX_OPEN_FILES
public static final ConfigOption<org.rocksdb.CompactionStyle> COMPACTION_STYLE
public static final ConfigOption<Boolean> USE_DYNAMIC_LEVEL_SIZE
public static final ConfigOption<MemorySize> TARGET_FILE_SIZE_BASE
public static final ConfigOption<MemorySize> MAX_SIZE_LEVEL_BASE
public static final ConfigOption<MemorySize> WRITE_BUFFER_SIZE
public static final ConfigOption<Integer> MAX_WRITE_BUFFER_NUMBER
public static final ConfigOption<Integer> MIN_WRITE_BUFFER_NUMBER_TO_MERGE
public static final ConfigOption<MemorySize> BLOCK_SIZE
public static final ConfigOption<MemorySize> BLOCK_CACHE_SIZE
public static final ConfigOption<MemorySize> WRITE_BATCH_SIZE
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.