public class ContainerQueuingLimitPBImpl extends ContainerQueuingLimit
Constructor and Description |
---|
ContainerQueuingLimitPBImpl() |
ContainerQueuingLimitPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto proto) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxQueueLength() |
int |
getMaxQueueWaitTimeInMs() |
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto |
getProto() |
void |
setMaxQueueLength(int queueLength) |
void |
setMaxQueueWaitTimeInMs(int waitTime) |
newInstance
public ContainerQueuingLimitPBImpl()
public ContainerQueuingLimitPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto getProto()
public int getMaxQueueWaitTimeInMs()
getMaxQueueWaitTimeInMs
in class ContainerQueuingLimit
public void setMaxQueueWaitTimeInMs(int waitTime)
setMaxQueueWaitTimeInMs
in class ContainerQueuingLimit
public int getMaxQueueLength()
getMaxQueueLength
in class ContainerQueuingLimit
public void setMaxQueueLength(int queueLength)
setMaxQueueLength
in class ContainerQueuingLimit
Copyright © 2022 Apache Software Foundation. All rights reserved.