@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ApplicationResourceUsageReport extends Object
Constructor and Description |
---|
ApplicationResourceUsageReport() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getMemorySeconds()
Get the aggregated amount of memory (in megabytes) the application has
allocated times the number of seconds the application has been running.
|
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 . |
abstract long |
getVcoreSeconds()
Get the aggregated number of vcores that the application has allocated
times the number of seconds the application has been running.
|
public ApplicationResourceUsageReport()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getNumUsedContainers()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getUsedResources()
Resource
. -1 for invalid/inaccessible reports.Resource
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getReservedResources()
Resource
. -1 for invalid/inaccessible reports.Resource
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getNeededResources()
Resource
. -1 for invalid/inaccessible reports.Resource
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getMemorySeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getVcoreSeconds()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.