## Uses of Class
org.apache.hadoop.yarn.api.records.PreemptionContainer

- Packages that use PreemptionContainer
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.records |

- - ### Uses of PreemptionContainer in org.apache.hadoop.yarn.api.records

    Methods in org.apache.hadoop.yarn.api.records that return PreemptionContainer
    Modifier and Type | Method and Description
    --- | ---
    `static PreemptionContainer` | PreemptionContainer.`newInstance(ContainerId id)`

    Methods in org.apache.hadoop.yarn.api.records that return types with arguments of type PreemptionContainer
    Modifier and Type | Method and Description
    --- | ---
    `abstract Set<PreemptionContainer>` | PreemptionContract.`getContainers()` Assign the set of `PreemptionContainer` specifying which containers owned by the `ApplicationMaster` that may be reclaimed by the `ResourceManager`.
    `abstract Set<PreemptionContainer>` | StrictPreemptionContract.`getContainers()` Get the set of `PreemptionContainer` specifying containers owned by the `ApplicationMaster` that may be reclaimed by the `ResourceManager`.

    Method parameters in org.apache.hadoop.yarn.api.records with type arguments of type PreemptionContainer
    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` | PreemptionContract.`setContainers(Set<PreemptionContainer> containers)`
    `abstract void` | StrictPreemptionContract.`setContainers(Set<PreemptionContainer> containers)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.