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


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface ApplicationResourceUsageReport

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


Method Summary
 Resource getNeededResources()
          Get the needed Resource
 int getNumReservedContainers()
          Get the number of reserved containers
 int getNumUsedContainers()
          Get the number of used containers
 Resource getReservedResources()
          Get the reserved Resource
 Resource getUsedResources()
          Get the used Resource
 

Method Detail

getNumUsedContainers

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

Returns:
the number of used containers

getNumReservedContainers

@InterfaceAudience.Public
@InterfaceStability.Stable
int getNumReservedContainers()
Get the number of reserved containers

Returns:
the number of reserved containers

getUsedResources

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

Returns:
the used Resource

getReservedResources

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

Returns:
the reserved Resource

getNeededResources

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

Returns:
the needed Resource


Copyright © 2012 Apache Software Foundation. All Rights Reserved.