Class RocksDBManualCompactionConfig.Builder
- java.lang.Object
-
- org.apache.flink.state.rocksdb.sstmerge.RocksDBManualCompactionConfig.Builder
-
- Enclosing class:
- RocksDBManualCompactionConfig
public static class RocksDBManualCompactionConfig.Builder extends Object
Builder forRocksDBManualCompactionConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RocksDBManualCompactionConfig
build()
RocksDBManualCompactionConfig.Builder
setMaxAutoCompactions(int maxAutoCompactions)
RocksDBManualCompactionConfig.Builder
setMaxFileSizeToCompact(MemorySize maxFileSizeToCompact)
RocksDBManualCompactionConfig.Builder
setMaxFilesToCompact(int maxFilesToCompact)
RocksDBManualCompactionConfig.Builder
setMaxOutputFileSize(MemorySize maxOutputFileSize)
RocksDBManualCompactionConfig.Builder
setMaxParallelCompactions(int maxParallelCompactions)
RocksDBManualCompactionConfig.Builder
setMinFilesToCompact(int minFilesToCompact)
RocksDBManualCompactionConfig.Builder
setMinInterval(long minInterval)
-
-
-
Method Detail
-
setMinInterval
public RocksDBManualCompactionConfig.Builder setMinInterval(long minInterval)
-
setMaxParallelCompactions
public RocksDBManualCompactionConfig.Builder setMaxParallelCompactions(int maxParallelCompactions)
-
setMaxFileSizeToCompact
public RocksDBManualCompactionConfig.Builder setMaxFileSizeToCompact(MemorySize maxFileSizeToCompact)
-
setMinFilesToCompact
public RocksDBManualCompactionConfig.Builder setMinFilesToCompact(int minFilesToCompact)
-
setMaxFilesToCompact
public RocksDBManualCompactionConfig.Builder setMaxFilesToCompact(int maxFilesToCompact)
-
setMaxOutputFileSize
public RocksDBManualCompactionConfig.Builder setMaxOutputFileSize(MemorySize maxOutputFileSize)
-
setMaxAutoCompactions
public RocksDBManualCompactionConfig.Builder setMaxAutoCompactions(int maxAutoCompactions)
-
build
public RocksDBManualCompactionConfig build()
-
-