public static class CoordinatorDynamicConfig.Builder extends Object
| Constructor and Description |
|---|
Builder() |
Builder(Long leadingTimeMillisBeforeCanMarkAsUnusedOvershadowedSegments,
Long mergeBytesLimit,
Integer mergeSegmentsLimit,
Integer maxSegmentsToMove,
Double percentOfSegmentsToConsiderPerMove,
Boolean useBatchedSegmentSampler,
Integer replicantLifetime,
Integer replicationThrottleLimit,
Integer balancerComputeThreads,
Boolean emitBalancingStats,
Object specificDataSourcesToKillUnusedSegmentsIn,
Object dataSourcesToNotKillStalePendingSegmentsIn,
Integer maxSegmentsInNodeLoadingQueue,
Object decommissioningNodes,
Integer decommissioningMaxPercentOfMaxSegmentsToMove,
Boolean pauseCoordination,
Boolean replicateAfterLoadTimeout,
Integer maxNonPrimaryReplicantsToLoad) |
public Builder()
public Builder(@Nullable Long leadingTimeMillisBeforeCanMarkAsUnusedOvershadowedSegments, @Nullable Long mergeBytesLimit, @Nullable Integer mergeSegmentsLimit, @Nullable Integer maxSegmentsToMove, @Deprecated @Nullable Double percentOfSegmentsToConsiderPerMove, Boolean useBatchedSegmentSampler, @Nullable Integer replicantLifetime, @Nullable Integer replicationThrottleLimit, @Nullable Integer balancerComputeThreads, @Nullable Boolean emitBalancingStats, @Nullable Object specificDataSourcesToKillUnusedSegmentsIn, @Nullable Object dataSourcesToNotKillStalePendingSegmentsIn, @Nullable Integer maxSegmentsInNodeLoadingQueue, @Nullable Object decommissioningNodes, @Nullable Integer decommissioningMaxPercentOfMaxSegmentsToMove, @Nullable Boolean pauseCoordination, @Nullable Boolean replicateAfterLoadTimeout, @Nullable Integer maxNonPrimaryReplicantsToLoad)
public CoordinatorDynamicConfig.Builder withLeadingTimeMillisBeforeCanMarkAsUnusedOvershadowedSegments(long leadingTimeMillis)
public CoordinatorDynamicConfig.Builder withMergeBytesLimit(long mergeBytesLimit)
public CoordinatorDynamicConfig.Builder withMergeSegmentsLimit(int mergeSegmentsLimit)
public CoordinatorDynamicConfig.Builder withMaxSegmentsToMove(int maxSegmentsToMove)
@Deprecated public CoordinatorDynamicConfig.Builder withPercentOfSegmentsToConsiderPerMove(double percentOfSegmentsToConsiderPerMove)
public CoordinatorDynamicConfig.Builder withUseBatchedSegmentSampler(boolean useBatchedSegmentSampler)
public CoordinatorDynamicConfig.Builder withReplicantLifetime(int replicantLifetime)
public CoordinatorDynamicConfig.Builder withReplicationThrottleLimit(int replicationThrottleLimit)
public CoordinatorDynamicConfig.Builder withBalancerComputeThreads(int balancerComputeThreads)
public CoordinatorDynamicConfig.Builder withEmitBalancingStats(boolean emitBalancingStats)
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 build()
public CoordinatorDynamicConfig build(CoordinatorDynamicConfig defaults)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.