@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ApplicationResourceUsageReport extends Object
Constructor and Description |
---|
ApplicationResourceUsageReport() |
Modifier and Type | Method and Description |
---|---|
abstract float |
getClusterUsagePercentage()
Get the percentage of resources of the cluster that the app is using.
|
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 long |
getPreemptedMemorySeconds()
Get the aggregated amount of memory preempted(in megabytes)
the application has allocated times the number of
seconds the application has been running.
|
abstract Map<String,Long> |
getPreemptedResourceSecondsMap()
Get the aggregated number of resources preempted that the application has
allocated times the number of seconds the application has been running.
|
abstract long |
getPreemptedVcoreSeconds()
Get the aggregated number of vcores preempted that the application has
allocated times the number of seconds the application has been running.
|
abstract float |
getQueueUsagePercentage()
Get the percentage of resources of the queue that the app is using.
|
abstract Resource |
getReservedResources()
Get the reserved
Resource . |
abstract Map<String,Long> |
getResourceSecondsMap()
Get the aggregated number of resources that the application has
allocated times the number of seconds the application has been running.
|
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.
|
@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()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getQueueUsagePercentage()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getClusterUsagePercentage()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getPreemptedMemorySeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getPreemptedVcoreSeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Map<String,Long> getResourceSecondsMap()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Map<String,Long> getPreemptedResourceSecondsMap()
Copyright © 2023 Apache Software Foundation. All rights reserved.