public class RMAppMetrics extends Object
Constructor and Description |
---|
RMAppMetrics(org.apache.hadoop.yarn.api.records.Resource resourcePreempted,
int numNonAMContainersPreempted,
int numAMContainersPreempted,
long memorySeconds,
long vcoreSeconds,
long preemptedMemorySeconds,
long preemptedVcoreSeconds) |
Modifier and Type | Method and Description |
---|---|
long |
getMemorySeconds() |
int |
getNumAMContainersPreempted() |
int |
getNumNonAMContainersPreempted() |
long |
getPreemptedMemorySeconds() |
long |
getPreemptedVcoreSeconds() |
org.apache.hadoop.yarn.api.records.Resource |
getResourcePreempted() |
long |
getVcoreSeconds() |
public RMAppMetrics(org.apache.hadoop.yarn.api.records.Resource resourcePreempted, int numNonAMContainersPreempted, int numAMContainersPreempted, long memorySeconds, long vcoreSeconds, long preemptedMemorySeconds, long preemptedVcoreSeconds)
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()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.