org.apache.hadoop.yarn.api.records.impl.pb
Class PreemptionContractPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.PreemptionContract
org.apache.hadoop.yarn.api.records.impl.pb.PreemptionContractPBImpl
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class PreemptionContractPBImpl
- extends org.apache.hadoop.yarn.api.records.PreemptionContract
| Methods inherited from class org.apache.hadoop.yarn.api.records.PreemptionContract |
newInstance |
PreemptionContractPBImpl
public PreemptionContractPBImpl()
PreemptionContractPBImpl
public PreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto proto)
getProto
public org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto 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
getContainers
public Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> getContainers()
- Specified by:
getContainers in class org.apache.hadoop.yarn.api.records.PreemptionContract
setContainers
public void setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers)
- Specified by:
setContainers in class org.apache.hadoop.yarn.api.records.PreemptionContract
getResourceRequest
public List<org.apache.hadoop.yarn.api.records.PreemptionResourceRequest> getResourceRequest()
- Specified by:
getResourceRequest in class org.apache.hadoop.yarn.api.records.PreemptionContract
setResourceRequest
public void setResourceRequest(List<org.apache.hadoop.yarn.api.records.PreemptionResourceRequest> req)
- Specified by:
setResourceRequest in class org.apache.hadoop.yarn.api.records.PreemptionContract
Copyright © 2014 Apache Software Foundation. All Rights Reserved.