@InterfaceAudience.Private
@InterfaceStability.Unstable
public class QueueInfoPBImpl
extends org.apache.hadoop.yarn.api.records.QueueInfo
Constructor and Description |
---|
QueueInfoPBImpl() |
QueueInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Set<String> |
getAccessibleNodeLabels() |
List<org.apache.hadoop.yarn.api.records.ApplicationReport> |
getApplications() |
float |
getCapacity() |
List<org.apache.hadoop.yarn.api.records.QueueInfo> |
getChildQueues() |
float |
getCurrentCapacity() |
String |
getDefaultNodeLabelExpression() |
Boolean |
getIntraQueuePreemptionDisabled() |
float |
getMaximumCapacity() |
int |
getMaxParallelApps() |
long |
getMaxResourceMemory() |
int |
getMaxResourceVCore() |
int |
getMaxRunningApp() |
long |
getMinResourceMemory() |
int |
getMinResourceVCore() |
Boolean |
getPreemptionDisabled() |
org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto |
getProto() |
Map<String,org.apache.hadoop.yarn.api.records.QueueConfigurations> |
getQueueConfigurations() |
String |
getQueueName() |
String |
getQueuePath() |
org.apache.hadoop.yarn.api.records.QueueState |
getQueueState() |
org.apache.hadoop.yarn.api.records.QueueStatistics |
getQueueStatistics() |
long |
getReservedResourceMemory() |
int |
getReservedResourceVCore() |
String |
getSchedulerType() |
long |
getSteadyFairShareMemory() |
int |
getSteadyFairShareVCore() |
String |
getSubClusterId() |
float |
getWeight() |
int |
hashCode() |
void |
setAccessibleNodeLabels(Set<String> nodeLabels) |
void |
setApplications(List<org.apache.hadoop.yarn.api.records.ApplicationReport> applications) |
void |
setCapacity(float capacity) |
void |
setChildQueues(List<org.apache.hadoop.yarn.api.records.QueueInfo> childQueues) |
void |
setCurrentCapacity(float currentCapacity) |
void |
setDefaultNodeLabelExpression(String defaultNodeLabelExpression) |
void |
setIntraQueuePreemptionDisabled(boolean intraQueuePreemptionDisabled) |
void |
setMaximumCapacity(float maximumCapacity) |
void |
setMaxParallelApps(int weight) |
void |
setMaxResourceMemory(long memory) |
void |
setMaxResourceVCore(int vCore) |
void |
setMaxRunningApp(int maxRunningApp) |
void |
setMinResourceMemory(long memory) |
void |
setMinResourceVCore(int vCore) |
void |
setPreemptionDisabled(boolean preemptionDisabled) |
void |
setQueueConfigurations(Map<String,org.apache.hadoop.yarn.api.records.QueueConfigurations> queueConfigurations) |
void |
setQueueName(String queueName) |
void |
setQueuePath(String queuePath) |
void |
setQueueState(org.apache.hadoop.yarn.api.records.QueueState queueState) |
void |
setQueueStatistics(org.apache.hadoop.yarn.api.records.QueueStatistics queueStatistics) |
void |
setReservedResourceMemory(long memory) |
void |
setReservedResourceVCore(int vCore) |
void |
setSchedulerType(String schedulerType) |
void |
setSteadyFairShareMemory(long memory) |
void |
setSteadyFairShareVCore(int vCore) |
void |
setSubClusterId(String subClusterId) |
void |
setWeight(float weight) |
String |
toString() |
public QueueInfoPBImpl()
public QueueInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto proto)
public List<org.apache.hadoop.yarn.api.records.ApplicationReport> getApplications()
getApplications
in class org.apache.hadoop.yarn.api.records.QueueInfo
public float getCapacity()
getCapacity
in class org.apache.hadoop.yarn.api.records.QueueInfo
public List<org.apache.hadoop.yarn.api.records.QueueInfo> getChildQueues()
getChildQueues
in class org.apache.hadoop.yarn.api.records.QueueInfo
public float getCurrentCapacity()
getCurrentCapacity
in class org.apache.hadoop.yarn.api.records.QueueInfo
public float getMaximumCapacity()
getMaximumCapacity
in class org.apache.hadoop.yarn.api.records.QueueInfo
public String getQueueName()
getQueueName
in class org.apache.hadoop.yarn.api.records.QueueInfo
public String getQueuePath()
getQueuePath
in class org.apache.hadoop.yarn.api.records.QueueInfo
public org.apache.hadoop.yarn.api.records.QueueState getQueueState()
getQueueState
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setApplications(List<org.apache.hadoop.yarn.api.records.ApplicationReport> applications)
setApplications
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setCapacity(float capacity)
setCapacity
in class org.apache.hadoop.yarn.api.records.QueueInfo
public float getWeight()
getWeight
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setWeight(float weight)
setWeight
in class org.apache.hadoop.yarn.api.records.QueueInfo
public int getMaxParallelApps()
getMaxParallelApps
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMaxParallelApps(int weight)
setMaxParallelApps
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setChildQueues(List<org.apache.hadoop.yarn.api.records.QueueInfo> childQueues)
setChildQueues
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setCurrentCapacity(float currentCapacity)
setCurrentCapacity
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMaximumCapacity(float maximumCapacity)
setMaximumCapacity
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setQueueName(String queueName)
setQueueName
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setQueuePath(String queuePath)
setQueuePath
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setQueueState(org.apache.hadoop.yarn.api.records.QueueState queueState)
setQueueState
in class org.apache.hadoop.yarn.api.records.QueueInfo
public org.apache.hadoop.yarn.proto.YarnProtos.QueueInfoProto getProto()
public void setAccessibleNodeLabels(Set<String> nodeLabels)
setAccessibleNodeLabels
in class org.apache.hadoop.yarn.api.records.QueueInfo
public Set<String> getAccessibleNodeLabels()
getAccessibleNodeLabels
in class org.apache.hadoop.yarn.api.records.QueueInfo
public String getDefaultNodeLabelExpression()
getDefaultNodeLabelExpression
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setDefaultNodeLabelExpression(String defaultNodeLabelExpression)
setDefaultNodeLabelExpression
in class org.apache.hadoop.yarn.api.records.QueueInfo
public org.apache.hadoop.yarn.api.records.QueueStatistics getQueueStatistics()
getQueueStatistics
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setQueueStatistics(org.apache.hadoop.yarn.api.records.QueueStatistics queueStatistics)
setQueueStatistics
in class org.apache.hadoop.yarn.api.records.QueueInfo
public Boolean getPreemptionDisabled()
getPreemptionDisabled
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setPreemptionDisabled(boolean preemptionDisabled)
setPreemptionDisabled
in class org.apache.hadoop.yarn.api.records.QueueInfo
public Map<String,org.apache.hadoop.yarn.api.records.QueueConfigurations> getQueueConfigurations()
getQueueConfigurations
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setQueueConfigurations(Map<String,org.apache.hadoop.yarn.api.records.QueueConfigurations> queueConfigurations)
setQueueConfigurations
in class org.apache.hadoop.yarn.api.records.QueueInfo
public Boolean getIntraQueuePreemptionDisabled()
getIntraQueuePreemptionDisabled
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setIntraQueuePreemptionDisabled(boolean intraQueuePreemptionDisabled)
setIntraQueuePreemptionDisabled
in class org.apache.hadoop.yarn.api.records.QueueInfo
public String getSchedulerType()
getSchedulerType
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setSchedulerType(String schedulerType)
setSchedulerType
in class org.apache.hadoop.yarn.api.records.QueueInfo
public int getMinResourceVCore()
getMinResourceVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMinResourceVCore(int vCore)
setMinResourceVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public long getMinResourceMemory()
getMinResourceMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMinResourceMemory(long memory)
setMinResourceMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public int getMaxResourceVCore()
getMaxResourceVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMaxResourceVCore(int vCore)
setMaxResourceVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public long getMaxResourceMemory()
getMaxResourceMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMaxResourceMemory(long memory)
setMaxResourceMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public int getReservedResourceVCore()
getReservedResourceVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setReservedResourceVCore(int vCore)
setReservedResourceVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public long getReservedResourceMemory()
getReservedResourceMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setReservedResourceMemory(long memory)
setReservedResourceMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public int getSteadyFairShareVCore()
getSteadyFairShareVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setSteadyFairShareVCore(int vCore)
setSteadyFairShareVCore
in class org.apache.hadoop.yarn.api.records.QueueInfo
public long getSteadyFairShareMemory()
getSteadyFairShareMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setSteadyFairShareMemory(long memory)
setSteadyFairShareMemory
in class org.apache.hadoop.yarn.api.records.QueueInfo
public String getSubClusterId()
getSubClusterId
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setSubClusterId(String subClusterId)
setSubClusterId
in class org.apache.hadoop.yarn.api.records.QueueInfo
public int getMaxRunningApp()
getMaxRunningApp
in class org.apache.hadoop.yarn.api.records.QueueInfo
public void setMaxRunningApp(int maxRunningApp)
setMaxRunningApp
in class org.apache.hadoop.yarn.api.records.QueueInfo
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.