public static class CoordinatorDynamicConfig.Builder extends Object
| Constructor and Description |
|---|
Builder() |
Builder(Long millisToWaitBeforeDeleting,
Long mergeBytesLimit,
Integer mergeSegmentsLimit,
Integer maxSegmentsToMove,
Integer replicantLifetime,
Integer replicationThrottleLimit,
Integer balancerComputeThreads,
Boolean emitBalancingStats,
Object killDataSourceWhitelist,
Boolean killAllDataSources,
Object killPendingSegmentsSkipList,
Integer maxSegmentsInNodeLoadingQueue) |
public Builder()
public Builder(@Nullable Long millisToWaitBeforeDeleting, @Nullable Long mergeBytesLimit, @Nullable Integer mergeSegmentsLimit, @Nullable Integer maxSegmentsToMove, @Nullable Integer replicantLifetime, @Nullable Integer replicationThrottleLimit, @Nullable Integer balancerComputeThreads, @Nullable Boolean emitBalancingStats, @Nullable Object killDataSourceWhitelist, @Nullable Boolean killAllDataSources, @Nullable Object killPendingSegmentsSkipList, @Nullable Integer maxSegmentsInNodeLoadingQueue)
public CoordinatorDynamicConfig.Builder withMillisToWaitBeforeDeleting(long millisToWaitBeforeDeleting)
public CoordinatorDynamicConfig.Builder withMergeBytesLimit(long mergeBytesLimit)
public CoordinatorDynamicConfig.Builder withMergeSegmentsLimit(int mergeSegmentsLimit)
public CoordinatorDynamicConfig.Builder withMaxSegmentsToMove(int maxSegmentsToMove)
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 withKillDataSourceWhitelist(Set<String> killDataSourceWhitelist)
public CoordinatorDynamicConfig.Builder withKillAllDataSources(boolean killAllDataSources)
public CoordinatorDynamicConfig.Builder withMaxSegmentsInNodeLoadingQueue(int maxSegmentsInNodeLoadingQueue)
public CoordinatorDynamicConfig build()
public CoordinatorDynamicConfig build(CoordinatorDynamicConfig defaults)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.