public class RMAppMetrics extends Object
Constructor and Description |
---|
RMAppMetrics(org.apache.hadoop.yarn.api.records.Resource resourcePreempted,
int numNonAMContainersPreempted,
int numAMContainersPreempted,
Map<String,Long> resourceSecondsMap,
Map<String,Long> preemptedResourceSecondsMap,
int totalAllocatedContainers) |
Modifier and Type | Method and Description |
---|---|
long |
getMemorySeconds() |
int |
getNumAMContainersPreempted() |
int |
getNumNonAMContainersPreempted() |
long |
getPreemptedMemorySeconds() |
Map<String,Long> |
getPreemptedResourceSecondsMap() |
long |
getPreemptedVcoreSeconds() |
org.apache.hadoop.yarn.api.records.Resource |
getResourcePreempted() |
Map<String,Long> |
getResourceSecondsMap() |
int |
getTotalAllocatedContainers() |
long |
getVcoreSeconds() |
public org.apache.hadoop.yarn.api.records.Resource getResourcePreempted()
public int getNumNonAMContainersPreempted()
public int getNumAMContainersPreempted()
public long getMemorySeconds()
public long getVcoreSeconds()
public long getPreemptedMemorySeconds()
public long getPreemptedVcoreSeconds()
public int getTotalAllocatedContainers()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.