org.apache.hadoop.yarn.server.resourcemanager.rmapp
Class RMAppMetrics

java.lang.Object
  extended by 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)
           
 
Method Summary
 long getMemorySeconds()
           
 int getNumAMContainersPreempted()
           
 int getNumNonAMContainersPreempted()
           
 org.apache.hadoop.yarn.api.records.Resource getResourcePreempted()
           
 long getVcoreSeconds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMAppMetrics

public RMAppMetrics(org.apache.hadoop.yarn.api.records.Resource resourcePreempted,
                    int numNonAMContainersPreempted,
                    int numAMContainersPreempted,
                    long memorySeconds,
                    long vcoreSeconds)
Method Detail

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.