@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() |
newInstance
public StrictPreemptionContractPBImpl()
public StrictPreemptionContractPBImpl(YarnProtos.StrictPreemptionContractProto proto)
public YarnProtos.StrictPreemptionContractProto getProto()
public Set<PreemptionContainer> getContainers()
StrictPreemptionContract
PreemptionContainer
specifying containers owned by
the ApplicationMaster
that may be reclaimed by the
ResourceManager
.getContainers
in class StrictPreemptionContract
ContainerId
to be preempted.public void setContainers(Set<PreemptionContainer> containers)
setContainers
in class StrictPreemptionContract
Copyright © 2013 Apache Software Foundation. All rights reserved.