Class FSQueueConverterBuilder
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.FSQueueConverterBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static FSQueueConverterBuildercreate()withCapacitySchedulerConfig(CapacitySchedulerConfiguration capacitySchedulerConfig) withClusterResource(org.apache.hadoop.yarn.api.records.Resource resource) withConversionOptions(ConversionOptions conversionOptions) withDrfUsed(boolean drfUsed) withPercentages(boolean usePercentages) withPreemptionEnabled(boolean preemptionEnabled) withQueueMaxAMShareDefault(float queueMaxAMShareDefault) withQueueMaxAppsDefault(int queueMaxAppsDefault) withRuleHandler(FSConfigToCSConfigRuleHandler ruleHandler) withSizeBasedWeight(boolean sizeBasedWeight)
-
Method Details
-
create
-
withRuleHandler
-
withCapacitySchedulerConfig
public FSQueueConverterBuilder withCapacitySchedulerConfig(CapacitySchedulerConfiguration capacitySchedulerConfig) -
withPreemptionEnabled
-
withSizeBasedWeight
-
withClusterResource
public FSQueueConverterBuilder withClusterResource(org.apache.hadoop.yarn.api.records.Resource resource) -
withQueueMaxAppsDefault
-
withConversionOptions
-
withDrfUsed
-
withPercentages
-
build
-