@InterfaceAudience.Private @InterfaceStability.Unstable public class StrictPreemptionContractPBImpl extends StrictPreemptionContract
| Constructor and Description |
|---|
StrictPreemptionContractPBImpl() |
StrictPreemptionContractPBImpl(YarnProtos.StrictPreemptionContractProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Set<PreemptionContainer> |
getContainers()
Get the set of
PreemptionContainer specifying containers owned by
the ApplicationMaster that may be reclaimed by the
ResourceManager. |
YarnProtos.StrictPreemptionContractProto |
getProto() |
int |
hashCode() |
void |
setContainers(Set<PreemptionContainer> containers) |
String |
toString() |
newInstancepublic StrictPreemptionContractPBImpl()
public StrictPreemptionContractPBImpl(YarnProtos.StrictPreemptionContractProto proto)
public YarnProtos.StrictPreemptionContractProto getProto()
public Set<PreemptionContainer> getContainers()
StrictPreemptionContractPreemptionContainer specifying containers owned by
the ApplicationMaster that may be reclaimed by the
ResourceManager.getContainers in class StrictPreemptionContractContainerId to be preempted.public void setContainers(Set<PreemptionContainer> containers)
setContainers in class StrictPreemptionContractCopyright © 2013 Apache Software Foundation. All rights reserved.