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
PreemptionContainer specifying containers owned by
the ApplicationMaster that may be reclaimed by the
ResourceManager . |
abstract Set<PreemptionContainer> |
PreemptionContract.getContainers()
Assign the set of
PreemptionContainer specifying which containers
owned by the ApplicationMaster that may be reclaimed by the
ResourceManager . |
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 © 2016 Apache Software Foundation. All rights reserved.