public class DistributedSchedulingAllocateResponsePBImpl extends DistributedSchedulingAllocateResponse
DistributedSchedulingAllocateResponse
.Constructor and Description |
---|
DistributedSchedulingAllocateResponsePBImpl() |
DistributedSchedulingAllocateResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse |
getAllocateResponse() |
List<RemoteNode> |
getNodesForScheduling() |
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto |
getProto() |
void |
setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) |
void |
setNodesForScheduling(List<RemoteNode> nodesForScheduling) |
newInstance
public DistributedSchedulingAllocateResponsePBImpl()
public DistributedSchedulingAllocateResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.DistributedSchedulingAllocateResponseProto getProto()
public void setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response)
setAllocateResponse
in class DistributedSchedulingAllocateResponse
public org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse getAllocateResponse()
getAllocateResponse
in class DistributedSchedulingAllocateResponse
public void setNodesForScheduling(List<RemoteNode> nodesForScheduling)
setNodesForScheduling
in class DistributedSchedulingAllocateResponse
public List<RemoteNode> getNodesForScheduling()
getNodesForScheduling
in class DistributedSchedulingAllocateResponse
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.