public static class CoordinatorDynamicConfig.Builder extends Object
| Constructor and Description |
|---|
Builder() |
Builder(Long markSegmentAsUnusedDelayMillis,
Long mergeBytesLimit,
Integer mergeSegmentsLimit,
Integer maxSegmentsToMove,
Integer replicantLifetime,
Integer replicationThrottleLimit,
Integer balancerComputeThreads,
Object specificDataSourcesToKillUnusedSegmentsIn,
Object dataSourcesToNotKillStalePendingSegmentsIn,
Integer maxSegmentsInNodeLoadingQueue,
Object decommissioningNodes,
Integer decommissioningMaxPercentOfMaxSegmentsToMove,
Boolean pauseCoordination,
Boolean replicateAfterLoadTimeout,
Integer maxNonPrimaryReplicantsToLoad,
Boolean useRoundRobinSegmentAssignment,
Boolean smartSegmentLoading,
Map<String,String> debugDimensions) |
public Builder()
public Builder(@Nullable Long markSegmentAsUnusedDelayMillis, @Nullable Long mergeBytesLimit, @Nullable Integer mergeSegmentsLimit, @Nullable Integer maxSegmentsToMove, @Nullable Integer replicantLifetime, @Nullable Integer replicationThrottleLimit, @Nullable Integer balancerComputeThreads, @Nullable Object specificDataSourcesToKillUnusedSegmentsIn, @Nullable Object dataSourcesToNotKillStalePendingSegmentsIn, @Nullable Integer maxSegmentsInNodeLoadingQueue, @Nullable Object decommissioningNodes, @Nullable Integer decommissioningMaxPercentOfMaxSegmentsToMove, @Nullable Boolean pauseCoordination, @Nullable Boolean replicateAfterLoadTimeout, @Nullable Integer maxNonPrimaryReplicantsToLoad, @Nullable Boolean useRoundRobinSegmentAssignment, @Nullable Boolean smartSegmentLoading, @Nullable Map<String,String> debugDimensions)
public CoordinatorDynamicConfig.Builder withMarkSegmentAsUnusedDelayMillis(long leadingTimeMillis)
public CoordinatorDynamicConfig.Builder withMergeBytesLimit(long mergeBytesLimit)
public CoordinatorDynamicConfig.Builder withMergeSegmentsLimit(int mergeSegmentsLimit)
public CoordinatorDynamicConfig.Builder withMaxSegmentsToMove(int maxSegmentsToMove)
public CoordinatorDynamicConfig.Builder withSmartSegmentLoading(boolean smartSegmentLoading)
public CoordinatorDynamicConfig.Builder withReplicantLifetime(int replicantLifetime)
public CoordinatorDynamicConfig.Builder withReplicationThrottleLimit(int replicationThrottleLimit)
public CoordinatorDynamicConfig.Builder withDebugDimensions(Map<String,String> debugDimensions)
public CoordinatorDynamicConfig.Builder withBalancerComputeThreads(int balancerComputeThreads)
public CoordinatorDynamicConfig.Builder withSpecificDataSourcesToKillUnusedSegmentsIn(Set<String> dataSources)
public CoordinatorDynamicConfig.Builder withMaxSegmentsInNodeLoadingQueue(int maxSegmentsInNodeLoadingQueue)
public CoordinatorDynamicConfig.Builder withDecommissioningNodes(Set<String> decommissioning)
public CoordinatorDynamicConfig.Builder withDecommissioningMaxPercentOfMaxSegmentsToMove(Integer percent)
public CoordinatorDynamicConfig.Builder withPauseCoordination(boolean pauseCoordination)
public CoordinatorDynamicConfig.Builder withReplicateAfterLoadTimeout(boolean replicateAfterLoadTimeout)
public CoordinatorDynamicConfig.Builder withMaxNonPrimaryReplicantsToLoad(int maxNonPrimaryReplicantsToLoad)
public CoordinatorDynamicConfig.Builder withUseRoundRobinSegmentAssignment(boolean useRoundRobinSegmentAssignment)
public CoordinatorDynamicConfig build()
public CoordinatorDynamicConfig build(CoordinatorDynamicConfig defaults)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.