Class KillUnusedSegmentsConfig.Builder
java.lang.Object
org.apache.druid.server.coordinator.config.KillUnusedSegmentsConfig.Builder
- Enclosing class:
- KillUnusedSegmentsConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withBufferPeriod(org.joda.time.Duration bufferPeriod) withCleanupPeriod(org.joda.time.Duration cleanupPeriod) withDurationToRetain(org.joda.time.Duration durationToRetain) withIgnoreDurationToRetain(Boolean ignoreDurationToRetain) withMaxIntervalToKill(org.joda.time.Period maxInterval) withMaxSegmentsToKill(Integer maxSegments)
-
Method Details
-
build
-
withCleanupPeriod
-
withDurationToRetain
public KillUnusedSegmentsConfig.Builder withDurationToRetain(org.joda.time.Duration durationToRetain) -
withIgnoreDurationToRetain
-
withMaxSegmentsToKill
-
withMaxIntervalToKill
-
withBufferPeriod
-