@InterfaceAudience.Private @InterfaceStability.Unstable public class AllocateRequestPBImpl extends AllocateRequest
| Constructor and Description |
|---|
AllocateRequestPBImpl() |
AllocateRequestPBImpl(YarnServiceProtos.AllocateRequestProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<ResourceRequest> |
getAskList() |
List<ContainerResourceIncreaseRequest> |
getIncreaseRequests() |
float |
getProgress() |
YarnServiceProtos.AllocateRequestProto |
getProto() |
List<ContainerId> |
getReleaseList() |
ResourceBlacklistRequest |
getResourceBlacklistRequest() |
int |
getResponseId() |
int |
hashCode() |
void |
setAskList(List<ResourceRequest> resourceRequests) |
void |
setIncreaseRequests(List<ContainerResourceIncreaseRequest> increaseRequests) |
void |
setProgress(float progress) |
void |
setReleaseList(List<ContainerId> releaseContainers) |
void |
setResourceBlacklistRequest(ResourceBlacklistRequest blacklistRequest) |
void |
setResponseId(int id) |
String |
toString() |
newInstance, newInstancepublic AllocateRequestPBImpl()
public AllocateRequestPBImpl(YarnServiceProtos.AllocateRequestProto proto)
public YarnServiceProtos.AllocateRequestProto getProto()
public int getResponseId()
getResponseId in class AllocateRequestpublic void setResponseId(int id)
setResponseId in class AllocateRequestpublic float getProgress()
getProgress in class AllocateRequestpublic void setProgress(float progress)
setProgress in class AllocateRequestpublic List<ResourceRequest> getAskList()
getAskList in class AllocateRequestpublic void setAskList(List<ResourceRequest> resourceRequests)
setAskList in class AllocateRequestpublic List<ContainerResourceIncreaseRequest> getIncreaseRequests()
getIncreaseRequests in class AllocateRequestpublic void setIncreaseRequests(List<ContainerResourceIncreaseRequest> increaseRequests)
setIncreaseRequests in class AllocateRequestpublic ResourceBlacklistRequest getResourceBlacklistRequest()
getResourceBlacklistRequest in class AllocateRequestpublic void setResourceBlacklistRequest(ResourceBlacklistRequest blacklistRequest)
setResourceBlacklistRequest in class AllocateRequestpublic List<ContainerId> getReleaseList()
getReleaseList in class AllocateRequestpublic void setReleaseList(List<ContainerId> releaseContainers)
setReleaseList in class AllocateRequestCopyright © 2018 CERN. All Rights Reserved.