public interface CompactionStrategy<SelfT extends CompactionStrategy<SelfT>> extends OptionProvider<SelfT>
Modifier and Type | Method and Description |
---|---|
default SelfT |
withEnabled(boolean enabled) |
default SelfT |
withTombstoneCompactionIntervalInSeconds(int seconds) |
default SelfT |
withTombstoneThreshold(double threshold) |
default SelfT |
withUncheckedTombstoneCompaction(boolean enabled) |
getOptions, withOption
@NonNull @CheckReturnValue default SelfT withEnabled(boolean enabled)
@NonNull @CheckReturnValue default SelfT withTombstoneCompactionIntervalInSeconds(int seconds)
@NonNull @CheckReturnValue default SelfT withTombstoneThreshold(double threshold)
@NonNull @CheckReturnValue default SelfT withUncheckedTombstoneCompaction(boolean enabled)
Copyright © 2017–2023. All rights reserved.