Class ContainerQueuingLimitPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.api.records.ContainerQueuingLimit
org.apache.hadoop.yarn.server.api.records.impl.pb.ContainerQueuingLimitPBImpl
Implementation of ContainerQueuingLimit interface.
-
Constructor Summary
ConstructorsConstructorDescriptionContainerQueuingLimitPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto proto) -
Method Summary
Modifier and TypeMethodDescriptionintintorg.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProtogetProto()voidsetMaxQueueLength(int queueLength) voidsetMaxQueueWaitTimeInMs(int waitTime) Methods inherited from class org.apache.hadoop.yarn.server.api.records.ContainerQueuingLimit
newInstance
-
Constructor Details
-
ContainerQueuingLimitPBImpl
public ContainerQueuingLimitPBImpl() -
ContainerQueuingLimitPBImpl
public ContainerQueuingLimitPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.ContainerQueuingLimitProto getProto() -
getMaxQueueWaitTimeInMs
public int getMaxQueueWaitTimeInMs()- Specified by:
getMaxQueueWaitTimeInMsin classContainerQueuingLimit
-
setMaxQueueWaitTimeInMs
public void setMaxQueueWaitTimeInMs(int waitTime) - Specified by:
setMaxQueueWaitTimeInMsin classContainerQueuingLimit
-
getMaxQueueLength
public int getMaxQueueLength()- Specified by:
getMaxQueueLengthin classContainerQueuingLimit
-
setMaxQueueLength
public void setMaxQueueLength(int queueLength) - Specified by:
setMaxQueueLengthin classContainerQueuingLimit
-