| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| static PreemptionResourceRequest | PreemptionResourceRequest. newInstance(ResourceRequest req) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract List<PreemptionResourceRequest> | PreemptionContract. getResourceRequest()If the AM releases resources matching these requests, then the  PreemptionContainers enumerated inPreemptionContract.getContainers()should not be
 evicted from the cluster. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PreemptionContract | PreemptionContract. newInstance(List<PreemptionResourceRequest> req,
           Set<PreemptionContainer> containers) | 
| abstract void | PreemptionContract. setResourceRequest(List<PreemptionResourceRequest> req) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.