@InterfaceAudience.Private
 @InterfaceStability.Unstable
public class PreemptionContractPBImpl
extends org.apache.hadoop.yarn.api.records.PreemptionContract
| Constructor and Description | 
|---|
| PreemptionContractPBImpl() | 
| PreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> | getContainers() | 
| org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto | getProto() | 
| List<org.apache.hadoop.yarn.api.records.PreemptionResourceRequest> | getResourceRequest() | 
| int | hashCode() | 
| void | setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers) | 
| void | setResourceRequest(List<org.apache.hadoop.yarn.api.records.PreemptionResourceRequest> req) | 
| String | toString() | 
public PreemptionContractPBImpl()
public PreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContractProto getProto()
public Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> getContainers()
getContainers in class org.apache.hadoop.yarn.api.records.PreemptionContractpublic void setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers)
setContainers in class org.apache.hadoop.yarn.api.records.PreemptionContractpublic List<org.apache.hadoop.yarn.api.records.PreemptionResourceRequest> getResourceRequest()
getResourceRequest in class org.apache.hadoop.yarn.api.records.PreemptionContractpublic void setResourceRequest(List<org.apache.hadoop.yarn.api.records.PreemptionResourceRequest> req)
setResourceRequest in class org.apache.hadoop.yarn.api.records.PreemptionContractCopyright © 2008–2023 Apache Software Foundation. All rights reserved.