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–2020. All rights reserved.