public final class FSQueueConverterBuilder extends Object
Modifier and Type | Method and Description |
---|---|
FSQueueConverter |
build() |
static FSQueueConverterBuilder |
create() |
FSQueueConverterBuilder |
withAutoCreateChildQueues(boolean autoCreateChildQueues) |
FSQueueConverterBuilder |
withCapacitySchedulerConfig(org.apache.hadoop.conf.Configuration config) |
FSQueueConverterBuilder |
withClusterResource(org.apache.hadoop.yarn.api.records.Resource resource) |
FSQueueConverterBuilder |
withConversionOptions(ConversionOptions conversionOptions) |
FSQueueConverterBuilder |
withDrfUsed(boolean drfUsed) |
FSQueueConverterBuilder |
withPreemptionEnabled(boolean preemptionEnabled) |
FSQueueConverterBuilder |
withQueueMaxAMShareDefault(float queueMaxAMShareDefault) |
FSQueueConverterBuilder |
withQueueMaxAppsDefault(int queueMaxAppsDefault) |
FSQueueConverterBuilder |
withRuleHandler(FSConfigToCSConfigRuleHandler ruleHandler) |
FSQueueConverterBuilder |
withSizeBasedWeight(boolean sizeBasedWeight) |
public static FSQueueConverterBuilder create()
public FSQueueConverterBuilder withRuleHandler(FSConfigToCSConfigRuleHandler ruleHandler)
public FSQueueConverterBuilder withCapacitySchedulerConfig(org.apache.hadoop.conf.Configuration config)
public FSQueueConverterBuilder withPreemptionEnabled(boolean preemptionEnabled)
public FSQueueConverterBuilder withSizeBasedWeight(boolean sizeBasedWeight)
public FSQueueConverterBuilder withAutoCreateChildQueues(boolean autoCreateChildQueues)
public FSQueueConverterBuilder withClusterResource(org.apache.hadoop.yarn.api.records.Resource resource)
public FSQueueConverterBuilder withQueueMaxAMShareDefault(float queueMaxAMShareDefault)
public FSQueueConverterBuilder withQueueMaxAppsDefault(int queueMaxAppsDefault)
public FSQueueConverterBuilder withConversionOptions(ConversionOptions conversionOptions)
public FSQueueConverterBuilder withDrfUsed(boolean drfUsed)
public FSQueueConverter build()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.