public class PreemptionManager
extends java.lang.Object
| Constructor | Description |
|---|---|
PreemptionManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addKillableContainer(KillableContainer container) |
|
java.util.Iterator<RMContainer> |
getKillableContainers(java.lang.String queueName,
java.lang.String partition) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
getKillableContainersMap(java.lang.String queueName,
java.lang.String partition) |
|
org.apache.hadoop.yarn.api.records.Resource |
getKillableResource(java.lang.String queueName,
java.lang.String partition) |
|
java.util.Map<java.lang.String,PreemptableQueue> |
getShallowCopyOfPreemptableQueues() |
|
void |
moveKillableContainer(KillableContainer oldContainer,
KillableContainer newContainer) |
|
void |
refreshQueues(CSQueue parent,
CSQueue current) |
|
void |
removeKillableContainer(KillableContainer container) |
|
void |
updateKillableContainerResource(KillableContainer container,
org.apache.hadoop.yarn.api.records.Resource oldResource,
org.apache.hadoop.yarn.api.records.Resource newResource) |
public void addKillableContainer(KillableContainer container)
public void removeKillableContainer(KillableContainer container)
public void moveKillableContainer(KillableContainer oldContainer, KillableContainer newContainer)
public void updateKillableContainerResource(KillableContainer container, org.apache.hadoop.yarn.api.records.Resource oldResource, org.apache.hadoop.yarn.api.records.Resource newResource)
@VisibleForTesting public java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> getKillableContainersMap(java.lang.String queueName, java.lang.String partition)
public java.util.Iterator<RMContainer> getKillableContainers(java.lang.String queueName, java.lang.String partition)
public org.apache.hadoop.yarn.api.records.Resource getKillableResource(java.lang.String queueName,
java.lang.String partition)
public java.util.Map<java.lang.String,PreemptableQueue> getShallowCopyOfPreemptableQueues()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.