Class DistributedSchedulingAllocateResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.DistributedSchedulingAllocateResponse
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.DistributedSchedulingAllocateResponsePBImpl
public class DistributedSchedulingAllocateResponsePBImpl
extends DistributedSchedulingAllocateResponse
Implementation of
DistributedSchedulingAllocateResponse.-
Constructor Summary
ConstructorsConstructorDescriptionDistributedSchedulingAllocateResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.protocolrecords.AllocateResponseorg.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProtogetProto()voidsetAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) voidsetNodesForScheduling(List<RemoteNode> nodesForScheduling) Methods inherited from class org.apache.hadoop.yarn.server.api.protocolrecords.DistributedSchedulingAllocateResponse
newInstance
-
Constructor Details
-
DistributedSchedulingAllocateResponsePBImpl
public DistributedSchedulingAllocateResponsePBImpl() -
DistributedSchedulingAllocateResponsePBImpl
public DistributedSchedulingAllocateResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto getProto() -
setAllocateResponse
public void setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) - Specified by:
setAllocateResponsein classDistributedSchedulingAllocateResponse
-
getAllocateResponse
public org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse getAllocateResponse()- Specified by:
getAllocateResponsein classDistributedSchedulingAllocateResponse
-
setNodesForScheduling
- Specified by:
setNodesForSchedulingin classDistributedSchedulingAllocateResponse
-
getNodesForScheduling
- Specified by:
getNodesForSchedulingin classDistributedSchedulingAllocateResponse
-