@InterfaceAudience.Private
@InterfaceStability.Unstable
public class StrictPreemptionContractPBImpl
extends org.apache.hadoop.yarn.api.records.StrictPreemptionContract
Constructor and Description |
---|
StrictPreemptionContractPBImpl() |
StrictPreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto 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.StrictPreemptionContractProto |
getProto() |
int |
hashCode() |
void |
setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers) |
String |
toString() |
public StrictPreemptionContractPBImpl()
public StrictPreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto getProto()
public Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> getContainers()
getContainers
in class org.apache.hadoop.yarn.api.records.StrictPreemptionContract
public void setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers)
setContainers
in class org.apache.hadoop.yarn.api.records.StrictPreemptionContract
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.