org.apache.hadoop.yarn.api.records
Class ApplicationResourceUsageReport

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class ApplicationResourceUsageReport
extends Object

Contains various scheduling metrics to be reported by UI and CLI.


Constructor Summary
ApplicationResourceUsageReport()
           
 
Method Summary
abstract  Resource getNeededResources()
          Get the needed Resource
abstract  int getNumUsedContainers()
          Get the number of used containers
abstract  Resource getReservedResources()
          Get the reserved Resource
abstract  Resource getUsedResources()
          Get the used Resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationResourceUsageReport

public ApplicationResourceUsageReport()
Method Detail

getNumUsedContainers

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract int getNumUsedContainers()
Get the number of used containers

Returns:
the number of used containers

getUsedResources

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract Resource getUsedResources()
Get the used Resource

Returns:
the used Resource

getReservedResources

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract Resource getReservedResources()
Get the reserved Resource

Returns:
the reserved Resource

getNeededResources

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract Resource getNeededResources()
Get the needed Resource

Returns:
the needed Resource


Copyright © 2014 Apache Software Foundation. All Rights Reserved.