public interface RocksDBManualCompactionManager extends AutoCloseable
Such files are usually small and are inlined into the Checkpoint metadata. Which might lead to exceeding RPC message size on checkpoint ACK or recovery.
This class manages compactions of one or more Column Families of a single RocksDB instance.
Note that "manual" means that the compactions are requested manually (by Flink), but they are still executed by RocksDB.
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static RocksDBManualCompactionManager |
NO_OP |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static RocksDBManualCompactionManager |
create(org.rocksdb.RocksDB db,
RocksDBManualCompactionConfig settings,
ExecutorService ioExecutor) |
void |
register(RocksDBKeyedStateBackend.RocksDbKvStateInfo stateInfo) |
void |
start() |
static final org.slf4j.Logger LOG
static final RocksDBManualCompactionManager NO_OP
static RocksDBManualCompactionManager create(org.rocksdb.RocksDB db, RocksDBManualCompactionConfig settings, ExecutorService ioExecutor)
void register(RocksDBKeyedStateBackend.RocksDbKvStateInfo stateInfo)
void close()
throws Exception
close in interface AutoCloseableExceptionvoid start()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.