org.apache.hadoop.yarn.server.resourcemanager.rmapp
Class RMAppMetrics
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppMetrics
public class RMAppMetrics
- extends Object
|
Constructor Summary |
RMAppMetrics(org.apache.hadoop.yarn.api.records.Resource resourcePreempted,
int numNonAMContainersPreempted,
int numAMContainersPreempted,
long memorySeconds,
long vcoreSeconds)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMAppMetrics
public RMAppMetrics(org.apache.hadoop.yarn.api.records.Resource resourcePreempted,
int numNonAMContainersPreempted,
int numAMContainersPreempted,
long memorySeconds,
long vcoreSeconds)
getResourcePreempted
public org.apache.hadoop.yarn.api.records.Resource getResourcePreempted()
getNumNonAMContainersPreempted
public int getNumNonAMContainersPreempted()
getNumAMContainersPreempted
public int getNumAMContainersPreempted()
getMemorySeconds
public long getMemorySeconds()
getVcoreSeconds
public long getVcoreSeconds()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.