Class RocksDbTtlCompactFiltersManager


  • public class RocksDbTtlCompactFiltersManager
    extends Object
    RocksDB compaction filter utils for state with TTL.
    • 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)
      • disposeAndClearRegisteredCompactionFactories

        public void disposeAndClearRegisteredCompactionFactories()