Class RegisterDistributedSchedulingAMResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.RegisterDistributedSchedulingAMResponse
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.RegisterDistributedSchedulingAMResponsePBImpl
public class RegisterDistributedSchedulingAMResponsePBImpl
extends RegisterDistributedSchedulingAMResponse
Implementation of
RegisterDistributedSchedulingAMResponse.-
Constructor Summary
ConstructorsConstructorDescriptionRegisterDistributedSchedulingAMResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionlongintorg.apache.hadoop.yarn.api.records.Resourceorg.apache.hadoop.yarn.api.records.Resourceorg.apache.hadoop.yarn.api.records.Resourceorg.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProtogetProto()org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponsevoidsetContainerIdStart(long containerIdStart) voidsetContainerTokenExpiryInterval(int interval) voidsetIncrContainerResource(org.apache.hadoop.yarn.api.records.Resource incrResource) voidsetMaxContainerResource(org.apache.hadoop.yarn.api.records.Resource maxResource) voidsetMinContainerResource(org.apache.hadoop.yarn.api.records.Resource minResource) voidsetNodesForScheduling(List<RemoteNode> nodesForScheduling) voidsetRegisterResponse(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse resp) toString()Methods inherited from class org.apache.hadoop.yarn.server.api.protocolrecords.RegisterDistributedSchedulingAMResponse
newInstance
-
Constructor Details
-
RegisterDistributedSchedulingAMResponsePBImpl
public RegisterDistributedSchedulingAMResponsePBImpl() -
RegisterDistributedSchedulingAMResponsePBImpl
public RegisterDistributedSchedulingAMResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto getProto() -
setRegisterResponse
public void setRegisterResponse(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse resp) - Specified by:
setRegisterResponsein classRegisterDistributedSchedulingAMResponse
-
getRegisterResponse
public org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse getRegisterResponse()- Specified by:
getRegisterResponsein classRegisterDistributedSchedulingAMResponse
-
setMaxContainerResource
public void setMaxContainerResource(org.apache.hadoop.yarn.api.records.Resource maxResource) - Specified by:
setMaxContainerResourcein classRegisterDistributedSchedulingAMResponse
-
getMaxContainerResource
public org.apache.hadoop.yarn.api.records.Resource getMaxContainerResource()- Specified by:
getMaxContainerResourcein classRegisterDistributedSchedulingAMResponse
-
setMinContainerResource
public void setMinContainerResource(org.apache.hadoop.yarn.api.records.Resource minResource) - Specified by:
setMinContainerResourcein classRegisterDistributedSchedulingAMResponse
-
getMinContainerResource
public org.apache.hadoop.yarn.api.records.Resource getMinContainerResource()- Specified by:
getMinContainerResourcein classRegisterDistributedSchedulingAMResponse
-
setIncrContainerResource
public void setIncrContainerResource(org.apache.hadoop.yarn.api.records.Resource incrResource) - Specified by:
setIncrContainerResourcein classRegisterDistributedSchedulingAMResponse
-
getIncrContainerResource
public org.apache.hadoop.yarn.api.records.Resource getIncrContainerResource()- Specified by:
getIncrContainerResourcein classRegisterDistributedSchedulingAMResponse
-
setContainerTokenExpiryInterval
public void setContainerTokenExpiryInterval(int interval) - Specified by:
setContainerTokenExpiryIntervalin classRegisterDistributedSchedulingAMResponse
-
getContainerTokenExpiryInterval
public int getContainerTokenExpiryInterval()- Specified by:
getContainerTokenExpiryIntervalin classRegisterDistributedSchedulingAMResponse
-
setContainerIdStart
public void setContainerIdStart(long containerIdStart) - Specified by:
setContainerIdStartin classRegisterDistributedSchedulingAMResponse
-
getContainerIdStart
public long getContainerIdStart()- Specified by:
getContainerIdStartin classRegisterDistributedSchedulingAMResponse
-
setNodesForScheduling
- Specified by:
setNodesForSchedulingin classRegisterDistributedSchedulingAMResponse
-
getNodesForScheduling
- Specified by:
getNodesForSchedulingin classRegisterDistributedSchedulingAMResponse
-
toString
-