org.apache.hadoop.yarn.server.resourcemanager
Class RMContextImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl
All Implemented Interfaces:
RMContext

public class RMContextImpl
extends Object
implements RMContext


Constructor Summary
RMContextImpl(Store store, org.apache.hadoop.yarn.event.Dispatcher rmDispatcher, ContainerAllocationExpirer containerAllocationExpirer, AMLivelinessMonitor amLivelinessMonitor, DelegationTokenRenewer tokenRenewer)
           
 
Method Summary
 AMLivelinessMonitor getAMLivelinessMonitor()
           
 ApplicationsStore getApplicationsStore()
           
 ContainerAllocationExpirer getContainerAllocationExpirer()
           
 DelegationTokenRenewer getDelegationTokenRenewer()
           
 org.apache.hadoop.yarn.event.Dispatcher getDispatcher()
           
 ConcurrentMap<String,RMNode> getInactiveRMNodes()
           
 NodeStore getNodeStore()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> getRMApps()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> getRMNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMContextImpl

public RMContextImpl(Store store,
                     org.apache.hadoop.yarn.event.Dispatcher rmDispatcher,
                     ContainerAllocationExpirer containerAllocationExpirer,
                     AMLivelinessMonitor amLivelinessMonitor,
                     DelegationTokenRenewer tokenRenewer)
Method Detail

getDispatcher

public org.apache.hadoop.yarn.event.Dispatcher getDispatcher()
Specified by:
getDispatcher in interface RMContext

getNodeStore

public NodeStore getNodeStore()
Specified by:
getNodeStore in interface RMContext

getApplicationsStore

public ApplicationsStore getApplicationsStore()
Specified by:
getApplicationsStore in interface RMContext

getRMApps

public ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> getRMApps()
Specified by:
getRMApps in interface RMContext

getRMNodes

public ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> getRMNodes()
Specified by:
getRMNodes in interface RMContext

getInactiveRMNodes

public ConcurrentMap<String,RMNode> getInactiveRMNodes()
Specified by:
getInactiveRMNodes in interface RMContext

getContainerAllocationExpirer

public ContainerAllocationExpirer getContainerAllocationExpirer()
Specified by:
getContainerAllocationExpirer in interface RMContext

getAMLivelinessMonitor

public AMLivelinessMonitor getAMLivelinessMonitor()
Specified by:
getAMLivelinessMonitor in interface RMContext

getDelegationTokenRenewer

public DelegationTokenRenewer getDelegationTokenRenewer()
Specified by:
getDelegationTokenRenewer in interface RMContext


Copyright © 2012 Apache Software Foundation. All Rights Reserved.