Class SegmentLoadingConfig
- java.lang.Object
-
- org.apache.druid.server.coordinator.loading.SegmentLoadingConfig
-
public class SegmentLoadingConfig extends Object
Contains recomputed configs fromCoordinatorDynamicConfigbased on whetherCoordinatorDynamicConfig.isSmartSegmentLoading()is enabled or not.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SegmentLoadingConfigcreate(CoordinatorDynamicConfig dynamicConfig, int numUsedSegments)Creates a new SegmentLoadingConfig with recomputed coordinator config values based on whetherCoordinatorDynamicConfig.isSmartSegmentLoading()is enabled or not.intgetBalancerComputeThreads()intgetMaxLifetimeInLoadQueue()intgetMaxSegmentsInLoadQueue()intgetReplicationThrottleLimit()booleanisUseRoundRobinSegmentAssignment()
-
-
-
Method Detail
-
create
public static SegmentLoadingConfig create(CoordinatorDynamicConfig dynamicConfig, int numUsedSegments)
Creates a new SegmentLoadingConfig with recomputed coordinator config values based on whetherCoordinatorDynamicConfig.isSmartSegmentLoading()is enabled or not.
-
getMaxSegmentsInLoadQueue
public int getMaxSegmentsInLoadQueue()
-
getReplicationThrottleLimit
public int getReplicationThrottleLimit()
-
isUseRoundRobinSegmentAssignment
public boolean isUseRoundRobinSegmentAssignment()
-
getMaxLifetimeInLoadQueue
public int getMaxLifetimeInLoadQueue()
-
getBalancerComputeThreads
public int getBalancerComputeThreads()
-
-