public class AllocationFileParser extends Object
VALID_TAG_NAMES
contains the tag name.
Other meaningful fields are also saved in parse()
.Constructor and Description |
---|
AllocationFileParser(NodeList elements) |
Modifier and Type | Method and Description |
---|---|
float |
getDefaultFairSharePreemptionThreshold() |
long |
getDefaultFairSharePreemptionTimeout() |
long |
getDefaultMinSharePreemptionTimeout() |
SchedulingPolicy |
getDefaultSchedulingPolicy() |
List<Element> |
getQueueElements() |
float |
getQueueMaxAMShareDefault() |
int |
getQueueMaxAppsDefault() |
ConfigurableResource |
getQueueMaxResourcesDefault() |
Optional<Element> |
getQueuePlacementPolicy() |
Optional<String> |
getReservationAdmissionPolicy() |
Optional<String> |
getReservationAgent() |
Optional<String> |
getReservationPlanner() |
Map<String,Integer> |
getUserMaxApps() |
int |
getUserMaxAppsDefault() |
void |
parse() |
public AllocationFileParser(NodeList elements)
public void parse() throws AllocationConfigurationException
AllocationConfigurationException
public ConfigurableResource getQueueMaxResourcesDefault() throws AllocationConfigurationException
AllocationConfigurationException
public int getUserMaxAppsDefault()
public long getDefaultFairSharePreemptionTimeout()
public long getDefaultMinSharePreemptionTimeout()
public int getQueueMaxAppsDefault()
public float getDefaultFairSharePreemptionThreshold()
public float getQueueMaxAMShareDefault()
public SchedulingPolicy getDefaultSchedulingPolicy()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.