org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt
Class AggregateAppResourceUsage

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.AggregateAppResourceUsage

@InterfaceAudience.Private
public class AggregateAppResourceUsage
extends Object


Constructor Summary
AggregateAppResourceUsage(long memorySeconds, long vcoreSeconds)
           
 
Method Summary
 long getMemorySeconds()
           
 long getVcoreSeconds()
           
 void setMemorySeconds(long memorySeconds)
           
 void setVcoreSeconds(long vcoreSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateAppResourceUsage

public AggregateAppResourceUsage(long memorySeconds,
                                 long vcoreSeconds)
Method Detail

getMemorySeconds

public long getMemorySeconds()
Returns:
the memorySeconds

setMemorySeconds

public void setMemorySeconds(long memorySeconds)
Parameters:
memorySeconds - the memorySeconds to set

getVcoreSeconds

public long getVcoreSeconds()
Returns:
the vcoreSeconds

setVcoreSeconds

public void setVcoreSeconds(long vcoreSeconds)
Parameters:
vcoreSeconds - the vcoreSeconds to set


Copyright © 2014 Apache Software Foundation. All Rights Reserved.