@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class StrictPreemptionContract extends Object
ApplicationMaster (AM)
 may attempt to checkpoint work or adjust its execution plan to accommodate
 it. In contrast to PreemptionContract, the AM has no flexibility in
 selecting which resources to return to the cluster.PreemptionMessage| Constructor and Description | 
|---|
| StrictPreemptionContract() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Set<PreemptionContainer> | getContainers()Get the set of  PreemptionContainerspecifying containers owned by
 theApplicationMasterthat may be reclaimed by theResourceManager. | 
| static StrictPreemptionContract | newInstance(Set<PreemptionContainer> containers) | 
| abstract void | setContainers(Set<PreemptionContainer> containers) | 
@InterfaceAudience.Private @InterfaceStability.Unstable public static StrictPreemptionContract newInstance(Set<PreemptionContainer> containers)
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract Set<PreemptionContainer> getContainers()
PreemptionContainer specifying containers owned by
 the ApplicationMaster that may be reclaimed by the
 ResourceManager.ContainerId to be preempted.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setContainers(Set<PreemptionContainer> containers)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.