Class RocksDbTtlCompactFiltersManager
- java.lang.Object
-
- org.apache.flink.state.rocksdb.ttl.RocksDbTtlCompactFiltersManager
-
public class RocksDbTtlCompactFiltersManager extends Object
RocksDB compaction filter utils for state with TTL.
-
-
Constructor Summary
Constructors Constructor Description RocksDbTtlCompactFiltersManager(TtlTimeProvider ttlTimeProvider, long queryTimeAfterNumEntries, Duration periodicCompactionTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configCompactFilter(StateDescriptor<?,?> stateDesc, TypeSerializer<?> stateSerializer)
void
disposeAndClearRegisteredCompactionFactories()
void
setAndRegisterCompactFilterIfStateTtl(RegisteredStateMetaInfoBase metaInfoBase, org.rocksdb.ColumnFamilyOptions options)
-
-
-
Constructor Detail
-
RocksDbTtlCompactFiltersManager
public RocksDbTtlCompactFiltersManager(TtlTimeProvider ttlTimeProvider, long queryTimeAfterNumEntries, Duration periodicCompactionTime)
-
-
Method Detail
-
setAndRegisterCompactFilterIfStateTtl
public void setAndRegisterCompactFilterIfStateTtl(@Nonnull RegisteredStateMetaInfoBase metaInfoBase, @Nonnull org.rocksdb.ColumnFamilyOptions options)
-
configCompactFilter
public void configCompactFilter(@Nonnull StateDescriptor<?,?> stateDesc, TypeSerializer<?> stateSerializer)
-
disposeAndClearRegisteredCompactionFactories
public void disposeAndClearRegisteredCompactionFactories()
-
-