java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement.PendingAskUpdateResult

public class PendingAskUpdateResult extends Object
Result of a resource-request update. This will be used by AppSchedulingInfo to update queue metrics and application/queue's overall pending resources. And this is per-scheduler-key. Following fields will be set if pending ask changed for a given scheduler key - lastPendingAsk: how many resource asked before. - newPendingAsk: how many resource asked now. - lastNodePartition: what's the node partition before. - newNodePartition: what's the node partition now.
  • Constructor Details

    • PendingAskUpdateResult

      public PendingAskUpdateResult(PendingAsk lastPendingAsk, PendingAsk newPendingAsk, String lastNodePartition, String newNodePartition)
  • Method Details

    • getLastPendingAsk

      public PendingAsk getLastPendingAsk()
    • getNewPendingAsk

      public PendingAsk getNewPendingAsk()
    • getLastNodePartition

      public String getLastNodePartition()
    • getNewNodePartition

      public String getNewNodePartition()
    • toString

      public String toString()
      Overrides:
      toString in class Object