| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
CompactRangeOptions |
CompactRangeOptions.setAllowWriteStall(boolean allowWriteStall)
If true, compaction will execute immediately even if doing so would cause the DB to
enter write stall mode.
|
CompactRangeOptions |
CompactRangeOptions.setBottommostLevelCompaction(CompactRangeOptions.BottommostLevelCompaction bottommostLevelCompaction)
Sets the policy for compacting the bottommost level
|
CompactRangeOptions |
CompactRangeOptions.setChangeLevel(boolean changeLevel)
Whether compacted files will be moved to the minimum level capable of holding the data or given level
(specified non-negative target_level).
|
CompactRangeOptions |
CompactRangeOptions.setExclusiveManualCompaction(boolean exclusiveCompaction)
Sets whether the compaction is exclusive or other compaction are allowed run concurrently at the same time.
|
CompactRangeOptions |
CompactRangeOptions.setMaxSubcompactions(int maxSubcompactions)
If > 0, it will replace the option in the DBOptions for this compaction
|
CompactRangeOptions |
CompactRangeOptions.setTargetLevel(int targetLevel)
If change_level is true and target_level have non-negative value, compacted files will be moved to target_level.
|
CompactRangeOptions |
CompactRangeOptions.setTargetPathId(int targetPathId)
Compaction outputs will be placed in options.db_paths[target_path_id].
|
| Modifier and Type | Method and Description |
|---|---|
void |
RocksDB.compactRange(ColumnFamilyHandle columnFamilyHandle,
byte[] begin,
byte[] end,
CompactRangeOptions compactRangeOptions)
Range compaction of column family.
|
Copyright © 2021. All rights reserved.