public class RegisterDistributedSchedulingAMResponsePBImpl extends RegisterDistributedSchedulingAMResponse
RegisterDistributedSchedulingAMResponse
.Constructor and Description |
---|
RegisterDistributedSchedulingAMResponsePBImpl() |
RegisterDistributedSchedulingAMResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
long |
getContainerIdStart() |
int |
getContainerTokenExpiryInterval() |
org.apache.hadoop.yarn.api.records.Resource |
getIncrContainerResource() |
org.apache.hadoop.yarn.api.records.Resource |
getMaxContainerResource() |
org.apache.hadoop.yarn.api.records.Resource |
getMinContainerResource() |
List<RemoteNode> |
getNodesForScheduling() |
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto |
getProto() |
org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse |
getRegisterResponse() |
void |
setContainerIdStart(long containerIdStart) |
void |
setContainerTokenExpiryInterval(int interval) |
void |
setIncrContainerResource(org.apache.hadoop.yarn.api.records.Resource incrResource) |
void |
setMaxContainerResource(org.apache.hadoop.yarn.api.records.Resource maxResource) |
void |
setMinContainerResource(org.apache.hadoop.yarn.api.records.Resource minResource) |
void |
setNodesForScheduling(List<RemoteNode> nodesForScheduling) |
void |
setRegisterResponse(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse resp) |
String |
toString() |
newInstance
public RegisterDistributedSchedulingAMResponsePBImpl()
public RegisterDistributedSchedulingAMResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RegisterDistributedSchedulingAMResponseProto getProto()
public void setRegisterResponse(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse resp)
setRegisterResponse
in class RegisterDistributedSchedulingAMResponse
public org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse getRegisterResponse()
getRegisterResponse
in class RegisterDistributedSchedulingAMResponse
public void setMaxContainerResource(org.apache.hadoop.yarn.api.records.Resource maxResource)
setMaxContainerResource
in class RegisterDistributedSchedulingAMResponse
public org.apache.hadoop.yarn.api.records.Resource getMaxContainerResource()
getMaxContainerResource
in class RegisterDistributedSchedulingAMResponse
public void setMinContainerResource(org.apache.hadoop.yarn.api.records.Resource minResource)
setMinContainerResource
in class RegisterDistributedSchedulingAMResponse
public org.apache.hadoop.yarn.api.records.Resource getMinContainerResource()
getMinContainerResource
in class RegisterDistributedSchedulingAMResponse
public void setIncrContainerResource(org.apache.hadoop.yarn.api.records.Resource incrResource)
setIncrContainerResource
in class RegisterDistributedSchedulingAMResponse
public org.apache.hadoop.yarn.api.records.Resource getIncrContainerResource()
getIncrContainerResource
in class RegisterDistributedSchedulingAMResponse
public void setContainerTokenExpiryInterval(int interval)
setContainerTokenExpiryInterval
in class RegisterDistributedSchedulingAMResponse
public int getContainerTokenExpiryInterval()
getContainerTokenExpiryInterval
in class RegisterDistributedSchedulingAMResponse
public void setContainerIdStart(long containerIdStart)
setContainerIdStart
in class RegisterDistributedSchedulingAMResponse
public long getContainerIdStart()
getContainerIdStart
in class RegisterDistributedSchedulingAMResponse
public void setNodesForScheduling(List<RemoteNode> nodesForScheduling)
setNodesForScheduling
in class RegisterDistributedSchedulingAMResponse
public List<RemoteNode> getNodesForScheduling()
getNodesForScheduling
in class RegisterDistributedSchedulingAMResponse
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.