public final class UserWeights extends Object
| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_WEIGHT |
| Modifier and Type | Method and Description |
|---|---|
void |
addFrom(UserWeights addFrom) |
static UserWeights |
createByConfig(CapacitySchedulerConfiguration conf,
ConfigurationProperties configurationProperties,
String queuePath) |
static UserWeights |
createEmpty() |
float |
getByUser(String userName) |
void |
validateForLeafQueue(float queueUserLimit,
String queuePath) |
public static final float DEFAULT_WEIGHT
public static UserWeights createEmpty()
public static UserWeights createByConfig(CapacitySchedulerConfiguration conf, ConfigurationProperties configurationProperties, String queuePath)
public float getByUser(String userName)
public void validateForLeafQueue(float queueUserLimit,
String queuePath)
throws IOException
IOExceptionpublic void addFrom(UserWeights addFrom)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.