public static class StateTtlConfig.CleanupStrategies extends Object implements Serializable
This class configures when to cleanup expired state with TTL. By default, state is always cleaned up on explicit read access if found expired. Currently cleanup of state full snapshot can be additionally activated.
Modifier and Type | Method and Description |
---|---|
StateTtlConfig.IncrementalCleanupStrategy |
getIncrementalCleanupStrategy() |
StateTtlConfig.RocksdbCompactFilterCleanupStrategy |
getRocksdbCompactFilterCleanupStrategy() |
boolean |
inFullSnapshot() |
boolean |
inRocksdbCompactFilter() |
boolean |
isCleanupInBackground() |
public boolean inFullSnapshot()
public boolean isCleanupInBackground()
@Nullable public StateTtlConfig.IncrementalCleanupStrategy getIncrementalCleanupStrategy()
public boolean inRocksdbCompactFilter()
@Nullable public StateTtlConfig.RocksdbCompactFilterCleanupStrategy getRocksdbCompactFilterCleanupStrategy()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.