| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| static PreemptionContainer | PreemptionContainer. newInstance(ContainerId id) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Set<PreemptionContainer> | StrictPreemptionContract. getContainers()Get the set of  PreemptionContainerspecifying containers owned by
 theApplicationMasterthat may be reclaimed by theResourceManager. | 
| abstract Set<PreemptionContainer> | PreemptionContract. getContainers()Assign the set of  PreemptionContainerspecifying which containers
 owned by theApplicationMasterthat may be reclaimed by theResourceManager. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PreemptionContract | PreemptionContract. newInstance(List<PreemptionResourceRequest> req,
           Set<PreemptionContainer> containers) | 
| static StrictPreemptionContract | StrictPreemptionContract. newInstance(Set<PreemptionContainer> containers) | 
| abstract void | StrictPreemptionContract. setContainers(Set<PreemptionContainer> containers) | 
| abstract void | PreemptionContract. setContainers(Set<PreemptionContainer> containers) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.