Class SegmentLoadingConfig
java.lang.Object
org.apache.druid.server.coordinator.loading.SegmentLoadingConfig
Contains recomputed configs from
CoordinatorDynamicConfig based on
whether CoordinatorDynamicConfig.isSmartSegmentLoading() is enabled or not.-
Method Summary
Modifier and TypeMethodDescriptionstatic SegmentLoadingConfigcreate(CoordinatorDynamicConfig dynamicConfig, int numUsedSegments) Creates a new SegmentLoadingConfig with recomputed coordinator config values based on whetherCoordinatorDynamicConfig.isSmartSegmentLoading()is enabled or not.intintintintboolean
-
Method Details
-
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()
-