Class SegmentLoadingConfig

java.lang.Object
org.apache.druid.server.coordinator.loading.SegmentLoadingConfig

public class SegmentLoadingConfig extends Object
Contains recomputed configs from CoordinatorDynamicConfig based on whether CoordinatorDynamicConfig.isSmartSegmentLoading() is enabled or not.
  • Method Details

    • create

      public static SegmentLoadingConfig create(CoordinatorDynamicConfig dynamicConfig, int numUsedSegments)
      Creates a new SegmentLoadingConfig with recomputed coordinator config values based on whether CoordinatorDynamicConfig.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()