org.apache.hadoop.yarn.server.resourcemanager.scheduler
Class SchedulerAppReport

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerAppReport

@InterfaceStability.Evolving
@InterfaceAudience.LimitedPrivate(value="yarn")
public class SchedulerAppReport
extends Object

Represents an application attempt, and the resources that the attempt is using.


Constructor Summary
SchedulerAppReport(SchedulerApplication app)
           
 
Method Summary
 Collection<RMContainer> getLiveContainers()
          Get the list of live containers
 Collection<RMContainer> getReservedContainers()
          Get the list of reserved containers
 boolean isPending()
          Is this application pending?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerAppReport

public SchedulerAppReport(SchedulerApplication app)
Method Detail

getLiveContainers

public Collection<RMContainer> getLiveContainers()
Get the list of live containers

Returns:
All of the live containers

getReservedContainers

public Collection<RMContainer> getReservedContainers()
Get the list of reserved containers

Returns:
All of the reserved containers.

isPending

public boolean isPending()
Is this application pending?

Returns:
true if it is else false.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.