org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class AllocateRequestPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.AllocateRequestPBImpl

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class AllocateRequestPBImpl
extends org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest


Constructor Summary
AllocateRequestPBImpl()
           
AllocateRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.AllocateRequestProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 List<org.apache.hadoop.yarn.api.records.ResourceRequest> getAskList()
           
 List<org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest> getIncreaseRequests()
           
 float getProgress()
           
 org.apache.hadoop.yarn.proto.YarnServiceProtos.AllocateRequestProto getProto()
           
 List<org.apache.hadoop.yarn.api.records.ContainerId> getReleaseList()
           
 org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest getResourceBlacklistRequest()
           
 int getResponseId()
           
 int hashCode()
           
 void setAskList(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests)
           
 void setIncreaseRequests(List<org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest> increaseRequests)
           
 void setProgress(float progress)
           
 void setReleaseList(List<org.apache.hadoop.yarn.api.records.ContainerId> releaseContainers)
           
 void setResourceBlacklistRequest(org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest blacklistRequest)
           
 void setResponseId(int id)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllocateRequestPBImpl

public AllocateRequestPBImpl()

AllocateRequestPBImpl

public AllocateRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.AllocateRequestProto proto)
Method Detail

getProto

public org.apache.hadoop.yarn.proto.YarnServiceProtos.AllocateRequestProto getProto()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getResponseId

public int getResponseId()
Specified by:
getResponseId in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

setResponseId

public void setResponseId(int id)
Specified by:
setResponseId in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

getProgress

public float getProgress()
Specified by:
getProgress in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

setProgress

public void setProgress(float progress)
Specified by:
setProgress in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

getAskList

public List<org.apache.hadoop.yarn.api.records.ResourceRequest> getAskList()
Specified by:
getAskList in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

setAskList

public void setAskList(List<org.apache.hadoop.yarn.api.records.ResourceRequest> resourceRequests)
Specified by:
setAskList in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

getIncreaseRequests

public List<org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest> getIncreaseRequests()
Specified by:
getIncreaseRequests in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

setIncreaseRequests

public void setIncreaseRequests(List<org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest> increaseRequests)
Specified by:
setIncreaseRequests in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

getResourceBlacklistRequest

public org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest getResourceBlacklistRequest()
Specified by:
getResourceBlacklistRequest in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

setResourceBlacklistRequest

public void setResourceBlacklistRequest(org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest blacklistRequest)
Specified by:
setResourceBlacklistRequest in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

getReleaseList

public List<org.apache.hadoop.yarn.api.records.ContainerId> getReleaseList()
Specified by:
getReleaseList in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest

setReleaseList

public void setReleaseList(List<org.apache.hadoop.yarn.api.records.ContainerId> releaseContainers)
Specified by:
setReleaseList in class org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest


Copyright © 2014 Apache Software Foundation. All Rights Reserved.