Uses of Class org.apache.hadoop.yarn.api.records.PreemptionMessage (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.records, class: PreemptionMessage

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

Packages that use PreemptionMessage
Package
Description
org.apache.hadoop.yarn.api.protocolrecords
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.api.records
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- ## Uses of PreemptionMessage in org.apache.hadoop.yarn.api.protocolrecords

  Methods in org.apache.hadoop.yarn.api.protocolrecords that return PreemptionMessage
  Modifier and Type
  Method
  Description
  `abstract PreemptionMessage`
  AllocateResponse.`getPreemptionMessage()`
  Get the description of containers owned by the AM, but requested back by the cluster.
  Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type PreemptionMessage
  Modifier and Type
  Method
  Description
  `static AllocateResponse`
  AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens)`
  `static AllocateResponse`
  AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, CollectorInfo collectorInfo)`
  `static AllocateResponse`
  AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers)`
  `static AllocateResponse`
  AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers, CollectorInfo collectorInfo)`
  `static AllocateResponse`
  AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers, CollectorInfo collectorInfo, org.apache.hadoop.yarn.api.records.EnhancedHeadroom enhancedHeadroom)`
  `abstract void`
  AllocateResponse.`setPreemptionMessage(PreemptionMessage request)`

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

  Methods in org.apache.hadoop.yarn.api.records that return PreemptionMessage
  Modifier and Type
  Method
  Description
  `static PreemptionMessage`
  PreemptionMessage.`newInstance(StrictPreemptionContract set, PreemptionContract contract)`